• Skip to main content
  • Skip to footer

PurelyFunctional.tv

  • Learn Clojure
  • About
  • 🛒 Cart
  • Log in
When to test: to reproduce a known bug
Download
 Video time: 24m45s
PREVIOUS
NEXT

Want this course?

Buy for $99

When to test: to reproduce a known bug

Course: Advanced Property-Based Testing with test.check

Updated October 22, 2019

Description

Property-Based Testing lets you search for a sequence of operations that reproduce a bug. Imagine you get a bug report from a user or you find an exception in your logs. You don't know where it's coming from, but you know it's in your database code. How do you find that bug?

PBT lets you do a search over possible sequences of operations. You can design a test to only fail if it finds the same exception. Once you find a failing case, you can turn it into a regular regression test so you don't need to do the search again.

Next Lesson

23 min

Black box testing a web frontend

In this lesson, we use a webdriver to control the browser. We test the TodoMVC implementation in React.

Course: Advanced Property-Based Testing with test.check

0 / 6
0 / 6
 
Lessons
 
Building complex generators: mutation testing
 
29 min 
 
Strategies for properties: metamorphic properties
 
26 min 
 
Testing parallel systems
 
1 hr 
 
Testing distributed systems
 
3 hr 
 
When to test: to reproduce a known bug
 
25 min 
 
Black box testing a web frontend
 
23 min 

Footer CTA

Level up your Clojure skills

The PurelyFunctional.tv Newsletter is a weekly email that helps you improve your Clojure skills through challenges, tips, and news.

Enter your email address to receive emails about Clojure and Functional Programming. These include the weekly newsletter and occasional offers. You can unsubscribe any time.

Copyright © 2021 LispCast and Eric Normand