-
Notifications
You must be signed in to change notification settings - Fork 0
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
Install stryker mutation tool for dynamic analysis #53
base: f24
Are you sure you want to change the base?
Conversation
Pull Request Test Coverage Report for Build 11499438837Details
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was also able to install and run the tool using the configuration file added. LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, the tool integrates well with our repo and instructions on how to use it are clear!
Stryker Mutator, a mutation testing tool, is integrated into the NodeBB codebase through installation using the command
npm init stryker
. This initializes the tool's configuration by creating astryker.config.mjs
file. During setup, key parameters were selected, including Mocha as the test runner,tsc -b
as the build command, andhtml, clear-text, progress
as reporters. The package manager was set tonpm
, and the configuration file was written in JavaScript. Once configured, Stryker was executed usingnpx stryker run
, and mutation tests were successfully conducted to assess the robustness of the test suite.