Building on the shoulders of Serenity BDD and years of research into patterns of scalable acceptance testing and effective communication, Serenity/JS provides the most comprehensive reporting capabilities of all the functional testing libraries based on the Node.js platform.

Test scenarios implementing the Screenplay Pattern can be quickly assembled from highly-reusable building blocks by team members with varied technical background:

describe('Finding things to do', () => {
    describe('James can', () => {
        describe('remove filters so that the list', () => {
            it('shows all the items', () => Actor.named('James').attemptsTo(
                Start.withATodoListContaining([ 'Write some code', 'Walk the dog' ]),
                CompleteATodoItem.called('Write some code'),
                Ensure.theListOnlyContains('Write some code', 'Walk the dog'),

        describe('apply filters so that the list', () => {
            it('shows active items only');

            it('shows completed items only');

Serenity/JS presents the results of test execution in a form of illustrated, narrative reports that describe what your application does and how it works, using a language that's easy to understand to both the technical and non-technical audience.

Test scenario report

What's more important, however, is that Serenity/JS gives you visibility of the release readiness of your application. It can tell you not only what scenarios have been executed, but also what features and what requirements have been tested, and to what extent.

Test scenario report

When a test fails, Serenity/JS will also show you the failure in the context of the capability and feature affected, so that failure analysis becomes much more efficient.

Test scenario report

Many of those reporting capabilities are available even to existing test suites, and all that's required is just a single, one-line code change.

To learn more about Serenity BDD reports, please consult the documentation.

Configuration is covered in the third part of the Serenity/JS tutorial

Your feedback matters!

Suggest features and improvements on github, get in touch on twitter, and if you found Serenity/JS useful - don't forget to give it a star! ★


results matching ""

    No results matching ""