Zum Hauptinhalt springen
Jasmine logo

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
Preise
No
Self-Hostable

Funktionen

  • ✓ 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

Vorteile

  • + Zero dependencies
  • + Built-in assertions and spies
  • + Clean BDD syntax
  • + Framework agnostic
  • + Easy to get started

Nachteile

  • − Less modern than Jest/Vitest
  • − Smaller plugin ecosystem
  • − Angular-centric perception
  • − Less active development