.NET Rocks!
Property-Based Testing using F# with Mark Seemann

Property-Based Testing using F# with Mark Seemann

.NET Rocks!

57:02

About this episode

Ever heard of property-based testing? Carl and Richard talk to Mark Seemann about doing property-based testing with F#. As Mark explains, functional programming techniques work especially well for property-based testing, allowing you to define parameters (properties) that will generate ranges of values to test against. The conversation digs into tooling, specifically FsCheck, an open source library for doing property-based testing in F#. If you'd rather work in C#, Mark's project AutoFixture can do similar work in that language. But Mark talks up the advantages of F# from a functional perspective, creating very terse, easy to read tests. Check it out!

Support this podcast at — https://redcircle.com/net-rocks/donations

More from .NET Rocks!

If your code is generated by AI, who owns it? Carl and Richard talk to Richard Hundhausen and Brad Frazer about the current state of copyright around AI-generated code. Brad talks about recent cases i…

56m

How does ASP.NET Core help you make secure web apps? Carl and Richard talk to Anders Abel about the OWASP Top Ten and how ASP.NET Core addresses many of the vulnerability elements - at least where it…

49m

What is mentorship like today? Carl and Richard talk to Ethan Winer about his experiences helping people grow in their careers. Ethan talks about growing Crescent Software back in the QuickBasic and V…

51m

Whatever happened to the future we were promised? Time for a Geek Out! To celebrate the end of the opening history bits, Richard pulls together all the most popular topics of "things we were supposed…

1h 13m

It's Tray-Tober! Carl and Richard talk to Joe Finney about his latest project - building small, useful Windows apps that live in the system tray. Joe talks about his original project inspiration, Radi…

57m