Property based testing with Xunit

Play Property based testing with Xunit
Sign in to queue

Description

In traditional unit testing, you run your code with specific inputs and check that you get the expected outputs. This means you need to anticipate possible problematic inputs in advance. Property-based testing is a technique where your tests describe the properties and behaviour you expect your code to have, and a framework tries to find inputs that violate those expectations. This session explains what property-based testing is, how it works, and where it fits into your testing strategy, and walks you through building property-based tests using the Xunit test framework.

Day:

3

Level:

Level 300

Session Type:

Breakout

Code:

M360

Room:

New Zealand Room Two (SKYCITY)

Embed

Download

Download this episode

The Discussion

Add Your 2 Cents