classpath:features also runs features from dependencies
See original GitHub issueclasspath:features
also runs the features in the resources of (test) dependencies. This is inconsistent with for example JUnit, that does not run the testcases from classes in the classpath from transitive dependencies.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
java - How do I set the path to my Cucumber features using ...
Take a look at my question here: You can specify a location on the classpath by setting the feature attribute in the options...
Read more >Maven – Optional Dependencies and Dependency Exclusions
The idea is that some of the dependencies are only used for certain features in the project and will not be needed if...
Read more >20. Developer tools - Spring
20.5 Remote applications. The Spring Boot developer tools are not just limited to local development. You can also use several features when running...
Read more >New features in Android Studio Preview
You can also update dependencies in the Project Structure dialog Dependencies view (File > Project Structure > Dependencies). To update versions, navigate to ......
Read more >Testing in Java & JVM projects - Gradle User Manual
This prevents classpath pollution and excessive memory consumption for the build process. It also allows you to run the tests with different JVM...
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
(When you want to share test modules or custom mock classes, the correct approach would be to publish a “
myproject-test
” jar which has the classes needed in itssrc/main
dir, rather than publishing yoursrc/test
dir. As you say, JUnit’s approach is more forgiving though.)This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.