Running single tests with Gradle command line does not work
See original GitHub issueRunning just a single test does not work when running from the command line. To reproduce, use kotlintest’s own current master
(65cd9d03b52e9936904a2d55d5087a0bcc4c86fd) and run:
./gradlew test --tests io.kotlintest.extensions.system.SystemExitTest
It will run all tests instead of just io.kotlintest.extensions.system.SystemExitTest
.
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (12 by maintainers)
Top Results From Across the Web
How to run only one unit test class using Gradle - Stack Overflow
To run a single test class Airborn's answer is good. With using some command line options, which found here, you can simply do...
Read more >Gradle - How to run a single unit test class - Mkyong.com
1. Run a single test class ... Review a simple unit test. ... To run only the above unit test, try gradle test...
Read more >Testing in Java & JVM projects - Gradle User Manual
The command-line option is especially useful to execute a single test method. When you use --tests , be aware that the inclusions declared...
Read more >Running your tests on the command line with Gradle - Medium
Use the command ./gradlew test to run all tests. $ ./gradlew test. Incremental java compilation is an incubating feature. :app:preBuild UP-TO-DATE :app: ...
Read more >Gradle - How to run single Test - javabydeveloper Java Tutorials
Following is the command in gradle to run single specific test class. Option -i is optional, which to used to see print messages...
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
I’ve opened an issue at gradle. https://github.com/gradle/gradle/issues/5678
Confirmed to be working, thanks!