S
rules_jasmine
Created Jul 21, 2022
by
aspect-build
Language:
Starlark
Stars:
6
Forks:
3
README
Bazel rules for Jasmine
Runs the Jasmine JS testing tool under Bazel.
rules_jasmine is just a part of what Aspect provides:
- Need help? This ruleset has support provided by https://aspect.build/services.
- See our other Bazel rules, especially those built for rules_js, such as rules_ts for TypeScript: https://github.com/aspect-build
Installation
- Under bzlmod in Bazel 6: start from
- Otherwise, from the release you pick,
copy the WORKSPACE snippet into your
WORKSPACEfile.
Usage
To run just the jasmine tests in a test pattern, you can use bazel test --test_lang_filters=jasmine [target pattern...].
API Docs: https://registry.bazel.build/docs/aspect_rules_jasmine
See usage examples in the examples/ directory.
Note that the examples rely on code in the
/WORKSPACEfile in the root of this repo.
Last updated: Jan 16, 2026