question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I’ve been playing around with mutation testing of Fluent Assertions using Stryker.NET. From their docs

What is mutation testing? Bugs, or mutants, are automatically inserted into your production code. Your tests are ran for each mutant. If your tests fail then the mutant is killed. If your tests passed, the mutant survived. The higher the percentage of mutants killed, the more effective your tests are.

It gives a nice html report of all found mutations making it easy to see what mutations survived our test suite. mutation-report.zip

I’ve used this to identify and add some missing unit tests. I didn’t find any bugs in the library, but found some missing extension methods for DateTimeOffset.

If anyone wants to chime on improving the test suite, this is a great tool.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:4
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
eNeRGy164commented, Mar 29, 2022

After a fix in Stryker.NET, so VSTest does not time-out, I finally could do a full run (~1h 20m)

mutation-report.zip

Total score: 85.43%

0reactions
jnyrupcommented, Aug 21, 2022

Total score: 85.89%

mutation-report.zip

Read more comments on GitHub >

github_iconTop Results From Across the Web

Mutation testing - Wikipedia
Mutation testing (or mutation analysis or program mutation) is used to design new software tests and evaluate the quality of existing software tests....
Read more >
What is Mutation Testing? (Example)
Mutation Testing is a type of software testing in which certain statements of the source code are changed/mutated to check if the test...
Read more >
What is mutation testing?
TL; DR: Mutation testing introduces changes to your code, then runs your unit tests against the changed code. It is expected that your...
Read more >
Software Testing | Mutation Testing
Mutation Testing is a type of Software Testing that is performed to design new software tests and also evaluate the quality of already ......
Read more >
What Is Mutation Testing: Tutorial With Examples
Mutation testing is a fault-based testing technique where variations of a software program are subjected to the test dataset.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found