Our great sponsors
-
https://fscheck.github.io/FsCheck/ can hopefully generate random inputs automatically or with low effort for many methods to get your code coverage up. You don’t even need to write real tests right now, just call the methods with the random inputs and check they don’t fail.
-
Bogus
:card_index: A simple fake data generator for C#, F#, and VB.NET. Based on and ported from the famed faker.js.
In terms of generating test cases, I've come across this before: https://github.com/bchavez/Bogus
-
SonarLint
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
Related posts
- Property-based tests and clean architecture are perfect fit
- When writing unit tests, what exactly am I looking for?
- Does anyone know of a good place to learn and practice some F# preferably F# 6 to be able to use Task.
- How Good Are Your .NET Tests? Test Your Tests With Stryker Mutator
- I Created an API to Generate Mock Information