Add option to "Compile all classes" as it is in GUI. #3117
PawelWozniak
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
-
Hi. I am referencing this GUI element: Custom Code -> Apex Classes -> Compile all classes.
The benefit of introducing it would be a decreased number of test runs that fail with error during a run.
Error example:
This one was caused by variable renaming only in the Constants class.
I would like to Compile all classes before adding the Git commit which triggers a test run in my workflow.
In more advanced Devops configuration that could be a quality gate that stops further actions if compilation fails.
As an outcome, it would be possible to save time and computing resources lost for test runs or any other validations that probably will fail because of fundamental errors.
Beta Was this translation helpful? Give feedback.
All reactions