Skip to main content

Clayton Rules - Untested methods

David Martin avatar
Written by David Martin
Updated over 3 weeks ago

Rationale

Unit testing isolate each individual parts of the program and checks that each of them behaves properly. Robust testing leads to ultimate agility. As a best practice, developer should aim for 100% coverage of their code. This rule helps identifying methods that are never checked by test methods.

Scope

  • Apex methods

Did this answer your question?