Ability to create my own test suite #5779
Replies: 5 comments
-
Hi, is there any update around this? As far as I understand this is available on sfdx but now requires to be surfaced in VsCode. |
Beta Was this translation helpful? Give feedback.
-
Hi @jriordan22849 , thanks for logging this. Just to clarify, does this mean you want to use the existing Apex Test Suite (https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_apextestsuite.htm) or something different than that ? |
Beta Was this translation helpful? Give feedback.
-
Hi @lcampos , ApexTestSuite is only been able to configure a set of apex classes. I would like to configure what tests classes to run and/or test methods in a class. In some scenarios, I would only like to run certain classes from multiple classes instead of all the test methods in the listed classes. Having the ability to configure which class and/or methods would be very beneficial. Thanks |
Beta Was this translation helpful? Give feedback.
-
hey @lcampos , is there any update in relation to this? |
Beta Was this translation helpful? Give feedback.
-
Hi @jriordan22849 - Thank you for the feature request. This isn't on our near-term roadmap, but we'll keep the feedback in mind for the future. |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
Yes, more flexibility in configuring unit tests. I would like to configure tests that test the broad range of a new feature or a bug fix. I do not want to execute a whole test class but partial tests in that test class. I would like to have the ability to configure which tests to run from multiple tests classes.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Instead of running a single test or a test class, I would to run my own test suite that consists of multiple unit tests across multiple test classes. The suite should be configurable via a file which I can update.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Currently, we can only run a single test or a test class.
Additional context
Add any other context or screenshots about the feature request here.
Beta Was this translation helpful? Give feedback.
All reactions