Innokenty
Innokenty

Reputation: 3303

Allure Report: no data generated for JUnit framework

Our team is using JUnit as base test framework for a large and old project. We recently migrated to Maven and we decided to try a new report for JUnit called Allure. We copied dependencies and plugins to our pom.xml from the following example but no XML data is generated in target/ folder. No warnings or errors are issued in Maven output. Does anybody know how could it be?

Upvotes: 5

Views: 2275

Answers (1)

vania-pooh
vania-pooh

Reputation: 2977

Which version of JUnit are you using? There's a warning in Allure documentation stating that Allure only works with JUnit 4. This is because Allure gets all information about tests using RunListener interface which only appeared in JUnit 4.

Upvotes: 5

Related Questions