~/talk

From custom tests to Common Test

Talkat Code BEAM Lite Munich 2018 · on Friday, 2018-12-07· [testing]
links:none on file
slides:none on file

Replaces Riak's brittle custom runner with Common Test, migrating dozens (not all of ~300) legacy suites so huge confirm/0 monsters split into meaningful test cases and yield precise failures instead of 400-line stack dumps. Extracts the code intercept library into its own repo (about 40 intercept-based tests use it) to inject delays, drop or corrupt replies at runtime. Pins a bundled rebar3 profile to support Erlang/OTP 16 and runs multi-release test batches; the new setup works for migrated suites but cross-release interaction testing remains unimplemented.

AI-written summary · about

  1. 0:00Start
  2. 1:13OUTLINE
  3. 2:39HOW DO YOU TEST THE PROPERTIES OF A SYSTEM
  4. 4:02COMMON TEST FEATURES
  5. 5:37NON-TRIVIAL TESTING SETUPS ON COMMON TEST
  6. 6:23WHAT A GREAT OPPORTUNITY TO BUILD A TESTING FRANEWORK
  7. 7:59THE TEST RUNNER SCRIPT - STARTING OUT SIMPLE
  8. 8:30THE TEST RUNNER SCRIPT - THE SIMPLEST TEST CASE
  9. 11:42RIAK TEST RUNNER SUMMARY
  10. 14:10CODE INTERCEPTS IN PRACTICE - TRIGGERING INTERCEPT
  11. 19:25REPLACING RIAK TEST RUNNER
  12. 20:06CONSTRAINTS
  13. 24:36CURRENT STATUS
  14. 25:43BONUS OBJECTIVES
  15. 27:54THREE BIG REASONS TO CONSIDER BEING A MENTOR
~/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.