cursed to try to maintain passing tests for all eternity
npm install @sisyphus/sisyphusTest suites...
- Are arrays of assertions
- Can be written in your modules
- Don't have a crazy DSL
- Run in browsers
- Output wherever you want, and look pretty (devtools, for starters)
- Support high-level browser automation (for integration testing)
Tests...
- Are written with eq and refeq
- That's it
- Seriously
- What did you want
Also, on a philosophical note...
- Don't write tests for your types (write types for your types)
- Don't write tests for your tests (write tests for your code)
- Never write a test instead of an assertion (make guarantees!)