Exclude specific Classes from Scheduled Unit Tests
Some Testclasses only run successfully, when the Org is connected to a Backend Application. Usually sandboxes for Development are not connected to the Backend. These are the Orgs, that we need to watch. It would be useful to exclude specific Classes on specified Environments from being tested in scheduled Unit Tests.
-
Darren Ingram commented
In our case, we have some custom account fields with validation. There are some Unlocked Packages installed in our org which include unit tests that try to create test account data, but fail due to our customizations. I'd love to be able to exclude those third party tests from our scheduled unit test runs
-
Antonio Italiano commented
It would be useful to exclude specific Classes