FsCheck
6.3#6 in property-based testing toolsFree planFree planLinuxmacOSWindows
Visit| Fact | FsCheck | ScalaCheck |
|---|---|---|
| Installation | FsCheck and its NUnit and xUnit.NET plugins can be installed from NuGet. | The site recommends adding org.scalacheck %% scalacheck % 1.19.0 % test as an sbt dependency. |
| Integrations | The project documents integrations with xUnit.net and NUnit, and user-created integrations with Expecto, Fuchu, AutoFixture and MSTest. | The site says ScalaCheck works with sbt and is integrated with ScalaTest, specs2 and LambdaTest. |
| License | The project says its BSD license permits modification and redistribution for commercial and non-commercial purposes. | The project build identifies its license as BSD-3-Clause. |
| Purpose | FsCheck automatically tests .NET programs by checking properties against randomly generated cases. | ScalaCheck is a Scala library for automated property-based testing of Scala or Java programs. |
| Support | The project invites users to report issues on GitHub and says contributors may open issues about documentation problems or gaps. | The documentation page links to GitHub bug reports, a mailing list and Stack Overflow. |
FsCheck suits developers who want generated-input property checks for .NET programs. It is relevant if your workflow uses F#, C#, or VB and a supported runner or test framework.
ScalaCheck is suited to developers testing Scala or Java code with randomized property checks. It fits projects using sbt or the listed testing integrations, and can also be run standalone.