@serenity-js/jasmine
v3.31.1
Published
Serenity/JS test runner adapter for Jasmine, enabling the use of the Screenplay Pattern in Jasmine-based test suites and leveraging Serenity/JS reporting capabilities
Downloads
4,738
Maintainers
Readme
Serenity/JS
Serenity/JS is an innovative open-source framework designed to make acceptance and regression testing of complex software systems faster, more collaborative and easier to scale.
⭐️ Get started with Serenity/JS!
- Serenity/JS web testing tutorial
- Serenity/JS Handbook and Getting Started guides
- API documentation
- Serenity/JS Project Templates
👋 Join the Serenity/JS Community!
- Meet other Serenity/JS developers and maintainers on the Serenity/JS Community chat channel,
- Find answers to your Serenity/JS questions on the Serenity/JS Forum,
- Learn how to contribute to Serenity/JS,
- Support the project and gain access to Serenity/JS Playbooks by becoming a Serenity/JS GitHub Sponsor!
Serenity/JS Jasmine
@serenity-js/jasmine
contains a Jasmine reporter
you register with Jasmine test runner
to enable integration between Jasmine and Serenity/JS.
Installation
To install this module, run the following command in your computer terminal:
npm install --save-dev @serenity-js/core @serenity-js/jasmine
To learn more about Serenity/JS and how to use it on your project, follow the Serenity/JS Getting Started guide.
Command line usage
jasmine --reporter=@serenity-js/jasmine
Programmatic usage
import serenityReporterForJasmine = require('@serenity-js/jasmine')
jasmine.getEnv().addReporter(serenityReporterForJasmine({ specDirectory: 'e2e' }))
📣 Stay up to date
New features, tutorials, and demos are coming soon! Follow Serenity/JS on LinkedIn, subscribe to Serenity/JS channel on YouTube and join the Serenity/JS Community Chat to stay up to date! Please also make sure to star ⭐️ Serenity/JS on GitHub to help others discover the framework!
💛 Support Serenity/JS
If you appreciate all the effort that goes into making sophisticated tools easy to work with, please support our work and become a Serenity/JS GitHub Sponsor today!