authorjapps / authorjapps/zerocode
org.junit.jupiter.api.Test support
- Dominant language
- Java
- Stars
- 1k
- Forks
- 453
- Avg merge
- 7d 2h
- Merged PRs (30d)
- 5
Description
Hello, Thanks for the amazing framework.
I'm rookie for java and zerocode.
And i found currently, looks like only org.junit.Test(Junit4) can work with @Scenario("xx/xx/xx.json") as below for contract test:
@Test
@Scenario("xx/xx/xx.json")
and will get the following error if we replace "org.junit.Test"(junit4) as "org.junit.jupiter.api.Test"(junit5)
==================clip===================
org.junit.runners.model.InvalidTestClassError:
Invalid test class 'packages.tests.pub.api.xxx.xxx':
1. No runnable methods
=======================================
is there any plan to support org.junit.jupiter.api.Test with @Scenario("xx/xx/xx.json") ?
Contributor guide
Research direction
Start by reproducing the reported failure with org.junit.jupiter.api.Test and @Scenario("xx/xx/xx.json"), then compare it with the working org.junit.Test case. The work is done when the JUnit 5 annotation runs the scenario successfully without the InvalidTestClassError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100