We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Let's consider the following project
// package.json { "devDependencies": { "karma": "^1.7.0", "karma-jasmine": "^1.1.0", "karma-phantomjs-launcher": "^1.0.4", "jasmine-core": "^2.7.0" } }
// karma.conf.js module.exports = function(config) { config.set({ frameworks: ['jasmine'], files: ['test.js'], reporters: ['progress'], port: 9876, browsers: ['PhantomJS'], singleRun: false }) };
// test.js describe("suite1", function () { it("test1", function () { }); }); describe("suite2", function () { it("test2", function () { }); });
./node_modules/karma/bin/karma start
./node_modules/karma/bin/karma run PhantomJS 2.1.1 (Linux 0.0.0): Executed 2 of 2 SUCCESS (0.039 secs / 0.001 secs)
Expected result
suite1
./node_modules/karma/bin/karma run -- '--grep=suite1' PhantomJS 2.1.1 (Linux 0.0.0): Executed 1 of 2 (skipped 1) SUCCESS (0.038 secs / 0 secs)
./node_modules/karma/bin/karma run PhantomJS 2.1.1 (Linux 0.0.0): Executed 1 of 2 (skipped 1) SUCCESS (0.038 secs / 0.001 secs)
Unexpected result: only suite1 is run again.
Originally reported in karma-jasmine karma-runner/karma-jasmine#186 and in karma-mocha karma-runner/karma-mocha#196.
As pointed out by @maksimr, it's actually caused by modifying shared config.client.args in https://github.com/karma-runner/karma/blob/master/lib/middleware/runner.js#L51-L60
config.client.args
The text was updated successfully, but these errors were encountered:
any update?
Sorry, something went wrong.
No branches or pull requests
Let's consider the following project
Expected result
suite1
:Expected result
Unexpected result: only
suite1
is run again.Originally reported in karma-jasmine karma-runner/karma-jasmine#186 and in karma-mocha karma-runner/karma-mocha#196.
As pointed out by @maksimr, it's actually caused by modifying shared
config.client.args
in https://github.com/karma-runner/karma/blob/master/lib/middleware/runner.js#L51-L60The text was updated successfully, but these errors were encountered: