|
@@ -55,7 +55,7 @@
|
|
|
|
|
|
|
|
- [x] **3.1 Unit tests for formula evaluation**
|
|
- [x] **3.1 Unit tests for formula evaluation**
|
|
|
|
|
|
|
|
- Implemented in `frontend/src/test/microtables_frontend/evaluation_test.cljs` using `cljs.test` + shadow-cljs `:node-test` target. Covers:
|
|
|
|
|
|
|
+ Implemented in `frontend/test/microtables_frontend/evaluation_test.cljs` using `cljs.test` + shadow-cljs `:node-test` target. Covers:
|
|
|
- Basic arithmetic formulas
|
|
- Basic arithmetic formulas
|
|
|
- Cell references and chained references
|
|
- Cell references and chained references
|
|
|
- Range functions (`sum`, `average`, etc.)
|
|
- Range functions (`sum`, `average`, etc.)
|
|
@@ -66,7 +66,7 @@
|
|
|
|
|
|
|
|
- [x] **3.2 Integration tests for state transitions**
|
|
- [x] **3.2 Integration tests for state transitions**
|
|
|
|
|
|
|
|
- Implemented in `frontend/src/test/microtables_frontend/events_test.cljs`. Tests the pure function pipelines that event handlers compose (not through re-frame dispatch). Covers:
|
|
|
|
|
|
|
+ Implemented in `frontend/test/microtables_frontend/events_test.cljs`. Tests the pure function pipelines that event handlers compose (not through re-frame dispatch). Covers:
|
|
|
- Editing a cell and verifying downstream re-evaluation
|
|
- Editing a cell and verifying downstream re-evaluation
|
|
|
- `change-datum-value` marks dirty without evaluating
|
|
- `change-datum-value` marks dirty without evaluating
|
|
|
- Reference graph updates when a formula changes (old refs removed, new refs added)
|
|
- Reference graph updates when a formula changes (old refs removed, new refs added)
|