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

Installing the Stryker Mutator Tool #67

Open
wants to merge 1 commit into
base: f24
Choose a base branch
from

Conversation

AlAnoud2003
Copy link

@AlAnoud2003 AlAnoud2003 commented Oct 30, 2024

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:

  • Modified the gitignore file
  • Added the stryker.config.json

Installation
Screenshot 2024-10-30 at 7 32 53 PM

Files changed
Screenshot 2024-10-30 at 7 33 25 PM

gitignore:
Screenshot 2024-10-30 at 8 26 01 PM

stryker.config.json:
Screenshot 2024-10-30 at 8 26 28 PM

Running the tool
Screenshot 2024-10-30 at 7 33 11 PM

@AlAnoud2003 AlAnoud2003 self-assigned this Oct 30, 2024
@coveralls
Copy link

Pull Request Test Coverage Report for Build 11597544019

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.005%) to 82.586%

Totals Coverage Status
Change from base Build 11495456179: 0.005%
Covered Lines: 22388
Relevant Lines: 25677

💛 - Coveralls

@AlAnoud2003 AlAnoud2003 changed the title Successfully installed Stryker and ran it Stryker Mutator Tool - Successful Installation Oct 30, 2024
@AlAnoud2003 AlAnoud2003 changed the title Stryker Mutator Tool - Successful Installation Installing the Stryker Mutator Tool Oct 30, 2024
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

Successfully merging this pull request may close these issues.

2 participants