question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for test fixtures for JUnit 5

See original GitHub issue

I’m submitting a …

  • bug report
  • feature request
  • support request => Please do not submit support request here, see note at the top of this template.

What is the current behavior?

Before/After methods are not displayed in the test execution section.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

Sample project: git clone https://gitlab.com/sergiis/allure2-junit5_bug_report.git

What is the expected behavior?

Before/After methods should be displayed in the test execution section.

What is the motivation / use case for changing the behavior?

The same behavior is working in allure-testng plugin but not in junit5. It is useful to see which setup and teardown methods were executed for a given test.

Please tell us about your environment:

| kotlin | 1.2.50 | | Allure version | 2.6.0 | | Maven failsafe plugin | 2.22.0 | | Test framework | junit@5.2.0 | | Allure integration | allure-junit5@2.6.0 | | Generate report using | allure-maven@2.9 |

Other information

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:12
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

6reactions
Legionivocommented, Jul 31, 2019

Hello, do you have any plans to fix this issue?

2reactions
Legionivocommented, Nov 28, 2019

@JamesOceans @abughay Hi! I’ve just had a face to face meeting with @baev and @eroshenkoam and they told me that fix is coming very soon! 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

JUnit 5 User Guide
The following test class demonstrates the use of @Test methods and all supported lifecycle methods. For further information on runtime semantics ...
Read more >
A Comprehensive Guide On JUnit 5 Extensions - LambdaTest
In this blog, we will learn about different kinds of extension models in the JUnit 5 testing library and see how JUnit 5...
Read more >
A Guide to JUnit 5 - Baeldung
JUnit Vintage supports running tests based on JUnit 3 and JUnit 4 on the JUnit 5 platform. 4. Basic Annotations.
Read more >
Writing Tests with JUnit 5 | The IntelliJ IDEA Blog
In this tutorial we're going to look at features of JUnit 5 that can make it easier for us to write effective and...
Read more >
What Is A JUnit Test Fixture: Tutorial With JUnit 4 Examples
JUnit Test Fixture. When there are multiple test cases in a JUnit class, there could be a common object or objects used by...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found