Skip to content
New issue

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

Running the same tests multiple times with different settings #335

Open
shacharz opened this issue Jul 8, 2014 · 0 comments
Open

Running the same tests multiple times with different settings #335

shacharz opened this issue Jul 8, 2014 · 0 comments

Comments

@shacharz
Copy link

shacharz commented Jul 8, 2014

Hi, I"m using:
jasmine.executeSpecsInFolder({specFolders:[__dirname + '/specs']}, (function(runner, log) {
if (runner.results().failedCount === 0) {
return process.exit(0);
} else {
return process.exit(1);
}
}), isVerbose, showColors);
Which I want to run few times with different settings, e.g different browser drivers.

If I run it only once my tests are fine, if I try to repeat it I get an error:
...\node_modules\jasmine-node\lib\jasmine-node/jasmine-1.3.1.js:2156
if (self.blocks[self.index].abort) {
^
TypeError: Cannot read property 'abort' of undefined
at onComplete (...\node_modules\jasmine-node\lib\jasmine-node/jasmine-1.3.1.js:2156:36)
at jasmine.WaitsForBlock.execute (...\node_modules\jasmine-node\lib\jasmine-node/jasmine-1.3.1.js:2659:5)
at null._onTimeout (...\node_modules\jasmine-node\lib\jasmine-node/jasmine-1.3.1.js:2673:12)
at Timer.listOnTimeout as ontimeout

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant