Add support for test fixtures for JUnit 5
See original GitHub issueI’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:
- Created 5 years ago
- Reactions:12
- Comments:15 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello, do you have any plans to fix this issue?
@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! 😃