Skip to content

StefRuseva88/mutation-tests-stryker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mutation Tests with .Net and Stryker

C# .NET NUnit Stryker

This is a test project for Back-End Test Technologies January 2024 Course @ SoftUni.


Prerequisites

  • .NET Core SDK 3.1 or higher
  • Visual Studio 2019 or later / Visual Studio Code

Mutation Testing with Stryker

  1. Installing Stryker:

Install Stryker using the Package Manager Console with the following command

dotnet tool install -g dotnet-stryker
  1. Running Stryker:

Execute Stryker to perform mutation testing on your project:

dotnet stryker

Analyzing the Report

After running Stryker, observe the generated report. The report will show the mutation score, which indicates the effectiveness of your tests. Aim to achieve a 100% mutation score by adding more tests.

Exploring Stryker Further

  • Stryker Playground
  • Visit the Stryker Playground to explore an interactive example. Experiment with creating additional tests to achieve a 100% mutation score.

Further Reading and Examples

  • Robo Coasters: Explore the Robo Coasters example for more insights into mutation testing with Stryker.
  • Robo Bar Example: Try the Robo Bar Example by following the tutorial. You'll need node.js and git to run this example.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any questions or suggestions, please reach out to the course instructor or open an issue in the repository.


Happy Testing! 🚀

About

Mutation Testing using Stryker

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages