Allow running only the tests that are part of an Unlocked Package and no other dependencies #3097
jefersonchaves
started this conversation in
Ideas
Replies: 1 comment
-
|
I'm considering add a new value for The Tooling API query I could think of today for Unlocked Packages without Namespace prefix is: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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 RunLocalTestsit 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