Allow running only the tests that are part of an Unlocked Package and no other dependencies #3097
jefersonchaves
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Is there a way to request only the tests inside of an Unlocked Package to run?
I have an Unlocked Package that has Unlocked Package dependencies. I want to run the test classes part of the package and nothing else.
This is a big pain point in Unlocked Package development.
Current behaviour as of 4-Nov-204
By running
sf apex run test --test-level RunLocalTests
it runs all the non-namespaced tests, including dependency tests.Alternatives
sf apex run test --test-level RunSpecifiedTests --tests TestOne --tests TesTwo
.Beta Was this translation helpful? Give feedback.
All reactions