Open dghosef opened 1 year ago
One possible testing strategy: make qdbp's tests double as useful programs. For example,
In addition to end-to-end tests we should also test unusual cases that won't happen much. Including
We also need tests for the type system - that we error when we should and don't error when we should
To test associativity we should have programs that typecheck only when associativity is correct
This issue is for discussion of qdbp unit testing. We need testing framework(s) for qdbp, ocaml, and C components including
We should also use some sort of static analysis on generated C code and UB sanitizers, memory sanitizers, etc. Also, make a pre-push hook that requires test to past