You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by "vlsi (via GitHub)" <gi...@apache.org> on 2023/06/08 09:44:03 UTC

[GitHub] [jmeter] vlsi opened a new pull request, #5975: chore: use testFixtures sourceset instead of depending on all the test classes

vlsi opened a new pull request, #5975:
URL: https://github.com/apache/jmeter/pull/5975

   ## Motivation and Context
   
   This change enables cleaner separation between "actual tests" and "support classes for the tests".
   
   For instance, `:src:core` might provide dummy samplers like `ThreadSleep` for testing purposes.
   `ThreadSleep` would depend on `src/test/main` (since it would `extend AbstractSampler`), and other modules (e.g. tests in `:src:protocols:http`) might need that `ThreadSleep` sampler.
   
   It won't be practical to create `core-testkit` modules for every module, so we move those reusable test classes to `testFixtures/...` source set.
   
   See https://docs.gradle.org/current/userguide/java_testing.html#sec:java_test_fixtures
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jmeter.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [jmeter] vlsi merged pull request #5975: chore: use testFixtures sourceset instead of depending on all the test classes

Posted by "vlsi (via GitHub)" <gi...@apache.org>.
vlsi merged PR #5975:
URL: https://github.com/apache/jmeter/pull/5975


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jmeter.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org