Skip to main content
Untested methods

Identify Apex methods that aren't covered by any unit tests.

Lorenzo Frattini avatar
Written by Lorenzo Frattini
Updated over 6 years 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?