📊 The Stryker Dashboard can now host your mutation testing report in the cloud.
If you're new to mutation testing, it's a way to measure how effective your tests are at finding bugs. Please take a look at our RoboBar 🤖🍷 example and see how even 100% code coverage doesn't tell the whole story. Mutation testing is the only way to make sure your code is tested.
Mutation testing is done by a mutation testing framework. After a mutation test run, you'll get a report that gives you all the details. Since mutation testing is still growing in popularity, there wasn't a convenient way yet to view the report in the cloud. The Stryker Dashboard solves that problem.
The dashboard now has several new features:
💄 Store and show gorgeous reports.
🥇 Brag about your mutation score with the mutation score badge.
🔀 Support for Git workflows with mutation reports per branch and tag.
🐉 Support for Monorepos. Multiple reports are aggregated to show a report of all your modules.
💸 Free for open source projects.
🤝 Supports all Stryker mutation testing frameworks. Other frameworks will add support over time or you can send your report through a cURL request. See the Stryker handbook for more details.
Click on the links below to see some examples of mutation testing reports hosted in the Stryker Dashboard.
Mutation testing can be time-consuming. Using your PC to do it is fine for small projects, but for bigger projects, you really want to run it in your CI/CD pipeline.
Luckily, running mutation testing in your CI/CD pipeline is a trivial task. Most mutation testing frameworks can be run from the command line. This is also true for the Stryker family of frameworks.
The problem becomes: what is a convenient way to read the mutation testing report 👀? Manually downloading files and opening them in your browser isn't a way anyone should be forced to spend an afternoon.
Getting up and running with the dashboard is simple.
🎯 Navigate to dashboard.stryker-mutator.io and log in with your GitHub account.
✅ Enable the Stryker Dashboard for your repository.
🔑 Configure your API key. See the dashboard article on the Stryker handbook for the details
🏃♀️ Run Stryker.NET, Stryker4s or Stryker (with the dashboard reporter enabled) and upload your first report.
We are eating our own dog food since we're using the new dashboard features to make our own mutation testing reports visible. We're naturally welcoming pull requests to help improve our tests. Improving tests is a good way to get to know a new codebase.
We can't wait for people to start using the dashboard and give feedback. Please enable it on your open-source project and tell us what you think! Together, we'll be able to spread the word about mutation testing and test quality by making it more visible
We're looking to improve the dashboard further. You can expect more features and open-source git providers to be added. We're always looking for feedback, please don't hesitate to create an issue.