#Does the in-app editor unskip all skipped test cases?

11 messages · Page 1 of 1 (latest)

kind wadi
#

In the app, I see that true is still there, meaning some tests are being skipped. Whereas locally, I can change it to false so the test cases is executed, as seen in the second image.

sullen sand
#

Please use a codeblock to share code/text

#

The test runners are supposed to run all the tests. If they aren't, that's probably a bug.

viral mothBOT
kind wadi
#

When I use the CLI to download an exercise, some test cases are skipped by default, with comments telling me to unskip them if I want.

#

On the web editor, The test result view still has the true value there, indicating that it's being skipped. So, I'm just wondering if I can trust that all the test cases are being executed.

sullen sand
#

The test runner on the website should have logic to handle running all the tests.

#

You can change your code so it passes the first test but fails subsequent tests. Or look at the test results on the site to see if the tests are running.

#

Depending on the track, runners, having a number of strategies to run all tests. Some set environment variables, add flags or might even modify the files.

#

When in doubt, construct a hypothesis, find a way to test it, and validate were invalidate the hypothesis. For example, the hypothesis might be that some tests are not running. You should be able to test that by changing the code to fail on specific tests, or by looking at the test outputs.