Software Testing and Software Quality Assurance Videos and Tutorials: Unit Testing, Functional Testing, Load Testing, Performance Testing, Test Driven Development
 

Writing tests with F#

Software testing is an area where F# really shines. This video shows us how to quickly get started with F# testing using tools like Ionide, XUnit, and FSCheck.

Ionide is a Visual Studio Code package suite for cross platform F# development. Ionide includes all the necessary features you’d find in a modern IDE – autocomplete, tooltips, document formatting, syntax and error highlighting, and many more.

xUnit.net is a free, open source, community-focused unit testing tool for the .NET Framework. It is the latest technology for unit testing C#, F#, VB.NET and other .NET languages. xUnit.net works with ReSharper, CodeRush, TestDriven.NET and Xamarin. It is part of the .NET Foundation.

FsCheck is a tool for testing .NET programs automatically. The programmer provides a specification of the program, in the form of properties which functions, methods or objects should satisfy, and FsCheck then tests that the properties hold in a large number of randomly generated cases. While writing the properties, you are actually writing a testable specification of your program. Specifications are expressed in F#, C# or VB, using combinators defined in the FsCheck library. FsCheck provides combinators to define properties, observe the distribution of test data, and define test data generators. When a property fails, FsCheck automatically displays a minimal counter example.

Video producer: https://channel9.msdn.com/