~/talk

Mica: Automated Differential Testing for OCaml Modules

Talkat OCaml 2024 · on Saturday, 2024-09-07· [testing]
name:Ernest Ng
links:none on file
links:none on file
slides:none on file

Mica is a PPX extension that derives QuickCheck-based differential tests for any OCaml signature by generating a typed algebraic exper AST, a gen_xer generator of well-typed symbolic Expressions, a big-step interpreter that evaluates an exper against a concrete module, and a test harness functor that compares concrete outputs. Mica catches bugs automatically: it finds 35 injected bugs across libraries, reproduces BST repo results with a mean 170 expressions to fail, and flags issues in 107 student submissions (≈30%) with 91% found within 300 expressions.

AI-written summary · about

  1. 0:00Mica introduction
  2. 1:27Differential testing in OCaml
  3. 3:55Automating property-based testing
  4. 5:23Generated code and data types
  5. 9:58Bug detection case studies
  6. 13:30TA integration and future work
  7. 15:40Summary
  8. 16:22Q&A
  9. 16:43Abstract types handling
  10. 17:48Recursive and dependent types
  11. 18:30Bug reporting and shrinking
  12. 19:11Symbolic expression design
  13. 20:15Closing remarks
~/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.