Jasmine
Simple JavaScript testing framework
Jasmine is a behavior-driven development testing framework for JavaScript that doesn't depend on browsers, DOM, or other frameworks. It has a clean syntax and runs in Node.js and browsers with built-in assertions and spies.
15.7k
GitHub Stars
free
Preços
No
Self-Hostable
Recursos
- ✓ BDD-style syntax
- ✓ Built-in assertions
- ✓ Built-in spies
- ✓ Browser and Node.js support
- ✓ No dependencies
- ✓ Async testing support
- ✓ Before/after hooks
- ✓ Focused and excluded tests
- ✓ Custom matchers
- ✓ Standalone or integrated
Prós
- + Zero dependencies
- + Built-in assertions and spies
- + Clean BDD syntax
- + Framework agnostic
- + Easy to get started
Contras
- − Less modern than Jest/Vitest
- − Smaller plugin ecosystem
- − Angular-centric perception
- − Less active development