~/talk

PROBING THE UNPROVABLE AND PROVING THE IMPROBABLE

Talkat Scalar 2020 · on Friday, 2020-05-15· [testing, scala]
slides:none on file

Two new Scala libraries appear: Probably is a tiny orthogonal test library that treats tests as ordinary expressions or statement assertions, runs them inline (even inside futures, constructors, pattern matches), supports expression vs statement tests, a CLI, property testing and 10,000-iteration runs that record which iteration failed and prints a hash-named report. Quarantine is a type-heavy result system that encodes expected exceptions in a domain as dependent types (answer/error/surprise), enforces exhaustivity at compile time, gives adaptors between domains, and aims to reduce runtime tests. Both are experimental and on GitHub.

AI-written summary · about

  1. 0:00Intro
  2. 0:25Types vs Tests
  3. 2:30When should we test?
  4. 7:16Where can you put tests?
  5. 8:53Expressions vs Statements
  6. 9:58The Test Runner
  7. 11:45CLI interface
  8. 14:29CLI Output
  9. 19:48Proving the Improbable
  10. 22:33Partiality and Totality
  11. 25:10Exceptions
  12. 34:43The Result Type
  13. 36:19Example: JSON API
  14. 41:16Transitions
  15. 43:08Ouarantining Your Code
  16. 45:27About Ouarantine
~/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.