Stryker Mutation tool - Installation #63
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Unfortunately, upon installing this tool, or any tool on my laptop, no matter what is installed, the node_modules file completely gets deleted. Therefore, I will not be merging this pull request.
Upon having other team members attempt to install Stryker Mutation on their laptops, the installation was successful.
Tool: Stryker Mutation
I installed the tool using the "npm init stryker" command. This tool modified the gitignore file and created a file titled: "stryker.config.json". When setting up, I selected the needed parameters (as shown in the screenshot), for example, Mocha as the test runner, "none" as the build command, reporters as: "html, clear-text, progress", npm as the package manager, and finally JSON as the file type for the config file. To run the tool, I used the command "npx stryker run" and viewed the mutations found.
Files changed:
Installation:
Evidence of file-creation/modification:
Running the tool: