5

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?

Sergey K.
  • 24,894
  • 13
  • 106
  • 174
Innokenty
  • 3,001
  • 1
  • 27
  • 30

1 Answers1

5

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.

vania-pooh
  • 2,933
  • 4
  • 24
  • 42
  • 1
    So when you're using JUnit 3 the run listener just is never used and thus we can't issue an error or warning. – vania-pooh May 27 '14 at 12:01