swagger-api / swagger-api/swagger-codegen-generators
[BUG][maven] Does NOT execute tests
Open
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 299
- Forks
- 439
- PR merge metrics
- No merged PRs in 30d
Description
Description
mvn clean test leads always to:
--- maven-surefire-plugin:3.0.0:test (default-test) @ swagger-codegen-generators ---
Using configured provider org.apache.maven.surefire.junit4.JUnit4Provider
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Results:
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
------------------------------------------------------------------------
This one is tougher:
Maven does not find JUnit(/testNG) tests to run
...
To the good news
Only 1 test fails (from IDE).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running mvn clean test and reviewing the Maven/Surefire configuration and output to determine why no tests are discovered. Compare this with the IDE result for src/test/java/io/swagger/codegen/v3/generators/java/JavaPolymorphicAnnotationCodegenTest.java and verify that the Maven command executes the test suite and reports the known failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100