Skip to main content

Hello experts,

I plan to delete some old unused apex classes from production using the DevOps tool(Copado).

Are running test classes required when deleting apex classes from production?

2 answers
  1. Oct 31, 2024, 8:30 PM

    Hello Aruna,

    You likely don't need the test class for the Apex class in production. If you plan to delete the test class, consider using a temporary workaround to achieve the required test coverage if they are needed to pass. However, it's generally recommended that adequate test coverage for all Apex classes be maintained to ensure code quality and organizational health. 

0/9000