Karma Test Runner Options

PHPUnit lets you setup the scope which makes it really easy to make different test suites within the IDE(directory, file, etc).

Is there a way to do this with Karma option? The only way I can make this happen now is with separate karma.conf.js files.



Attachment(s):
test-runner.jpg
1 comment
Comment actions Permalink

There is currently no way to pass a spec file (or individual test/suite) to karma runner - see
https://github.com/karma-runner/karma/issues/553.  You can only pass a configuration file to it. If you miss a possibility  to run individual tests/suits, you can create several karma  configuration files with different sets of tests included. Plus you can  rename individual tests/suits in the way mentioned in
https://github.com/karma-runner/karma/issues/553.

0

Please sign in to leave a comment.