Jasmine

Jasmine is a Javascript testing framework.

Getting Started

If you are using this to test vanilla Javascript[2], you can either install it as a standalone[3] or using npm. Jasmine can either be run in the command line or using a browser spec file.

Running Specific Tests

You can focus on specific tests or suites by prefacing describe or it with f (fdescribe or fit).

References

  1. Matchers
  2. https://jasmine.github.io/pages/getting_started.html
  3. https://github.com/jasmine/jasmine#installation
Incoming Links

Last modified: 202401040446