@serenity-js/jasmine

Serenity/JS adapter for the Jasmine test runner

Usage no npm install needed!

<script type="module">
  import serenityJsJasmine from 'https://cdn.skypack.dev/@serenity-js/jasmine';
</script>

README

Serenity/JS

Serenity/JS is a framework designed to make acceptance and regression testing of modern full-stack applications faster, more collaborative and easier to scale.

Visit serenity-js.org for the latest tutorials and API docs, and follow @SerenityJS and @JanMolak on Twitter for project updates.

Learning Serenity/JS

To learn more about Serenity/JS, check out the video below, read the tutorial, review the examples, and create your own test suite with Serenity/JS template projects.

If you have any questions, join us on Serenity/JS Community Chat.

Full-Stack Acceptance Testing with Serenity/JS and the Screenplay Pattern

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,jasmine}

Learn more about integrating Serenity/JS with Jasmine

Command line usage

jasmine --reporter=@serenity-js/jasmine

Programmatic usage

import serenityReporterForJasmine = require('@serenity-js/jasmine');

jasmine.getEnv().addReporter(serenityReporterForJasmine);