i just upgraded to jasmine 3.3 and now my tests by default run in random order. Is there a way to configure karma and jasmine to make tests run like they used to before upgrading to this new version?
If you want to exclude a specific test, simply use xit() instead of it() . The x means exclude. describe('description', function () { xit('description', function () {}); }); If you want to exclude an entire describe block, use xdescribe() instead of describe() .
Currently (v2. x) Jasmine runs tests in the order they are defined.
Jasmine doesn't actually support parallel execution. It runs one spec (or before/after) function at a time.
In Karma config under client: you are supposed to be able to set jasmine:{random:false} but that does not work for me. Does it for you? See below link from docs and screen cap. https://github.com/karma-runner/karma-jasmine
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With