Fast full stack testing in om.next
summary
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
chapters (15)
- 0:00Start
- 2:54Problem Statement
- 4:19Common Approaches to Testing
- 4:56Unit Tests
- 5:32Api Tests
- 6:29Ui Automation Test
- 7:51Refactor
- 10:17Responsibilities of the Different Components
- 11:36Client Parser
- 14:51Build To React Components
- 19:06Mutation Sequences
- 21:59Decoupled Approach
- 28:54Property Based Testing
- 32:06Property Based Testing
- 36:41Conclusion








