~/talk

Property-based testing:You won't look at your tests the same way ever again

Talkat GeeCON 2019 · 2019-05-15..05-17· [testing]
links:none on file
slides:none on file

Property-based testing generates large volumes of automatic inputs, finds edge cases and shrinks failures to a minimal counterexample, and runs configurable iterations (defaults around 100, runnable overnight). JVM tooling examples include junit-quickcheck and QuickTheories. A concrete win is refactoring an ecommerce URL serializer where the encode-parse cycle property caught regressions repeatedly. The approach also models stateful and concurrent systems by generating event sequences, comparing against a HashMap oracle, and surfacing race conditions that example-based tests miss.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05Why we test software
  3. 3:09Testing fitness tracking logic
  4. 5:51Property-based testing explained
  5. 7:39Generators in Java libraries
  6. 8:46Finding edge cases automatically
  7. 11:59Test-driven development with properties
  8. 17:22E-commerce URL parsing example
  9. 22:33Testing stateful systems
  10. 28:20Concurrent stateful systems
  11. 34:08Jepsen and distributed databases
  12. 36:24Advantages of property-based testing
  13. 38:57Q&A session
~/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.