You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to run Stryker on a project that uses Mocha.
I followed the documentation and added the necessary plugin and fragments within the stryker.conf.json.
Since I am working on an Open Source project, you can directly try it out on the repository.
Please note this is using a pnpm workspace.
Other notes:
Originally, I was having a better time with Stryker (if you reset the previous commit by running git reset HEAD^, git restore . and git clean -df you'll see the state of the repository in a more working state for stryker). The problem was that Stryker was messing up the coverage by adding some code before the tested coded which led to a broken coverage report.
Summary
Hey!
I am trying to run Stryker on a project that uses Mocha.
I followed the documentation and added the necessary plugin and fragments within the
stryker.conf.json
.Since I am working on an Open Source project, you can directly try it out on the repository.
Please note this is using a pnpm workspace.
Other notes:
Originally, I was having a better time with Stryker (if you reset the previous commit by running
git reset HEAD^
,git restore .
andgit clean -df
you'll see the state of the repository in a more working state for stryker). The problem was that Stryker was messing up the coverage by adding some code before the tested coded which led to a broken coverage report.Stryker config
Test runner config
.mocharc.json
Stryker environment
Test runner environment
Root level
tsconfig.json
:Package-level
tsconfig.json
:Package-level
tsconfig.build.json
:Package-level
tsconfig.mocha.json
:Package-level
tsconfig.stryker.json
:Your Environment
Add stryker.log
stryker.log
The text was updated successfully, but these errors were encountered: