Serenity (previously known as 'Thucydides') is a library designed to make writing automated acceptance tests easier, and more fun.
Serenity helps structure your automated acceptance tests in order to make them easier to understand and maintain, and provides great reporting capabilties on top of tools like JBehave, Cucumber or JUnit. It also provides tight integration with WebDriver, to make automated web testing easier and more efficient.
Serenity works in two ways:
- It instruments your test code and reports on the steps that your tests execute to achieve their goals, and stores the test results in a standardized format;
- It aggregates these test results into clear and meaningful reports, that reflect not only the outcomes of your tests, but also the status of your project. For example, you can get Serenity to report on what requirements, features or stories you have implemented, and how well (or not) they were tested.
Serenity was originally called Thucydides, and the package structure still reflects this history. Thucydides is discussed at length in the BDD in Action under the name Thucydides - everything discussed in "BDD in Action" is directly applicable for Serenity except for the artifact names.
Thucydides was renamed Serenity in November 2014, and moving forward, all new work will be done on Serenity. The artifact names reflect this change, e.g.
- net.thucydides:thucydides-code becomes net.serenity:core
- net.thucydides:thucydides-junit becomes net.serenity:serenity-junit
- net.thucydides:thucydides-jbehave becomes net.serenity:serenity-jbehave
- net.thucydides:thucydides-cucumber becomes net.serenity:serenity-cucumber
and so on.
COMING SOON
This distribution, as a whole, is licensed under the terms of the Apache License, Version 2.0