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

Integrate new test runner and test framework api's in stryker #34

Closed
nicojs opened this issue Mar 4, 2016 · 2 comments
Closed

Integrate new test runner and test framework api's in stryker #34

nicojs opened this issue Mar 4, 2016 · 2 comments
Milestone

Comments

@nicojs
Copy link
Member

nicojs commented Mar 4, 2016

Integrate the new TestRunner and TestFramework apis in Stryker. Make sure to support the options we already had, maybe rename them.

@nicojs nicojs modified the milestones: v1.0.0, v0.1 Mar 4, 2016
@simondel
Copy link
Member

Work on this has started in the branch: https://github.com/infosupport/stryker/tree/next-runner

@simondel
Copy link
Member

The following command:

node dist/src/Stryker.js -s test/sampleProject/src/Add.js,test/sampleProject/src/Circle.js -t test/sampleProject/test/AddSpec.js,test/sampleProject/test/CircleSpec.js

Should print the following output to the console:

INFO: Running initial test run
INFO: Initial test run succeeded
INFO: 11 Mutants generated
INFO: Waiting for all code coverage reports to finish
INFO: All code coverage reports have been collected
INFO: Testing mutants:
........S
Mutant survived!
C:\Users\simonl\Documents\workspace\stryker\test\sampleProject\src\Circle.js: line 3:22
Mutation: Math
-     return 2 * Math.PI * radius;
+     return 2 * Math.PI / radius;


Tests ran:
    C:\Users\simonl\Documents\workspace\stryker\test\sampleProject\test\CircleSpec.js


9 mutants tested.
2 mutants untested.
0 mutants timed out.
8 mutants killed.
Mutation score based on code coverage: 88.89%
Mutation score based on codebase: 72.73%

The messages about code coverage may be omitted due to the new coverage system. The 'tests ran' should now show the names of the specs which have been ran.

sanderkoenders pushed a commit that referenced this issue Jul 6, 2018
Override config options like bail, code coverage and verbosity for performance reasons.
nicojs pushed a commit that referenced this issue Jul 8, 2018
Override config options like bail, code coverage and verbosity for performance reasons.
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

2 participants