This library only supports the older Cucumber 2.x versions of Cucumber. For the most recent version refer to serenity-core.
This module lets you produce Serenity reports using Cucumber. You run your tests as normal, but using the CucumberWithSerenity runner, e.g.:
@RunWith(CucumberWithSerenity.class)
@CucumberOptions(features="src/test/resources/samples/myfeature.feature")
public class SimpleTableScenario {}
If you have found a defect, we are keen to hear about it! But there are a few things you can do to help us provide a fix sooner:
Simply saying "The reports don't get generated" will not help us very much. Give as much context as possible, including:
Also, make sure you try with the latest version of Serenity - your bug may already be fixed, and in any case error messages from the latest version will be more relevant when we try to track down the source of the problem.
It is easier for us to fix something we can see breaking. If someone has to volunteer an hour of there time to reproduce a defect, Start of with one of the Serenity started projects (like this one and add a scenario or test case that both illustrates and describes your issue. If possible, write the test to describe the behaviour you expect, so that it fails when the defect is present, and that it will pass when the defect is fixed.
The fastest way to fix a defect is often to dig into the code and to submit a pull request.
If you are using Serenity for your company projects, and need faster or more in-depth support, why not ask your company to get some commercial support? We provide a range of support options including prioritied tickets, custom Serenity work, and remote mentoring/pair programming sessions, depending on your needs.
Take a look at this article for more information.