#Do the tests always run when solving exercises via the online editor?
8 messages · Page 1 of 1 (latest)
It does not mean that all tests are always ran. Some tracks have some exercises that do not test.
Okay. But if I am trying to solve those exercises that do have tests, in the exercism editor itself, all of those tests run always, right? Because I see all tests except the 1st one disabled, but there is no way to enable those in the editor itself.
I can enable/disable tests in the command line, no issues there. But want to understand testing in the online editor.
I got it. Thanks! In the command line, I disable all but one, implement the functionality to pass that test, and then move to the next, and so on. So was just wondering if editor had that functionality.
Thanks for clarifying!
You may find that on the platform the tests all run, but the report is managable, collapsed at all but the first failing test.
Yeah that is the usual recommended way to work with TDD. For the online editor, a test runner run in the background that will run all the tests at once and give the feedback which one fail and which one pass. There are some rare cases when the tests are hard, so they got included as optional if leaners want to solve them locally but won't triggered online.