question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

classpath:features also runs features from dependencies

See original GitHub issue

classpath: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:closed
  • Created 7 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
RichardBradleycommented, May 3, 2016

(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 its src/main dir, rather than publishing your src/test dir. As you say, JUnit’s approach is more forgiving though.)

0reactions
lock[bot]commented, Oct 25, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found