serenity-bdd / serenity-cucumber

Cucumber integration for the Serenity BDD Reporting library
Other
78 stars 74 forks source link

Fix serenity-cucumber issue #120 #121

Closed Ram-Raghu closed 6 years ago

Ram-Raghu commented 6 years ago

Before this PR, the serenity-cucumber would generate serenity test outcome report only if the serenity-cucumber user has provided the absolute path of the feature file in the cucumber options in the JUnit tests. After this PR, the serenity-cucumber user could only provide the root folder of the feature file in cucumber options in JUnit tests and continue to reap the benefits of Serenity's test outcome report. Unit tests and integration tests are added to test this change and have been successful. Some of the existing related tests had to be refactored to support testing of this change.

wakaleo commented 6 years ago

This is a great addition, thanks for your contribution @Ram-Raghu!