~/talk

Fast full stack testing in om.next

Talkat Clojure/west 2016 · 2016-04-15..04-16· [testing, clojure]
slides:none on file

Builds a test harness that runs the om.next client parser on the JVM so client and server logic execute in one process, using component, datomic (in-memory per test), test.check generators and the reader conditional. Tests drive sequences of mutations, assert a UI data tree equals the post-refresh tree to prove the sync property, mock SMTP to ensure one email per friending, and run thousands of randomized ops (1000 friend-adds completes in ~600ms) so property-based checks run fast and in parallel.

AI-written summary · about

  1. 0:00Start
  2. 2:54Problem Statement
  3. 4:19Common Approaches to Testing
  4. 4:56Unit Tests
  5. 5:32Api Tests
  6. 6:29Ui Automation Test
  7. 7:51Refactor
  8. 10:17Responsibilities of the Different Components
  9. 11:36Client Parser
  10. 14:51Build To React Components
  11. 19:06Mutation Sequences
  12. 21:59Decoupled Approach
  13. 28:54Property Based Testing
  14. 32:06Property Based Testing
  15. 36:41Conclusion
~/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.