~/talk

Powerful Testing with test.check

Talkat Clojure/West 2014 · 2014-03-24..03-26· [clojure, testing]
slides:none on file

Property-based testing library test.check generates thousands of cases from generators and finds a subtle bug in transient versus persistent set operations after 2800 random tests by exposing a hash collision between 109 and -110. It uses composable generators, automatic shrinking to minimize failures, and integrates with clojure.test. It also prototypes a deterministic scheduler that records and replays thread interleavings to expose concurrency races and return the failing schedule for reproduction.

AI-written summary · about

  1. 0:00Intro
  2. 0:27performance
  3. 5:47quickcheck
  4. 6:41property-based testing
  5. 9:40roundtrip
  6. 11:00input/output relation
  7. 11:23generators
  8. 16:14shrinking
  9. 19:06concurrency testing
  10. 19:48deterministic
  11. 20:24based on PULSE
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.