function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
iperez_geniusiperez_genius 

Test Coverage :definition

Can someone please correct me if i am wrong but my understanding of the term "Test coverage"

is how much of the function/tirgger is being tested by the test function.

is that right?


Ilan
ColtonisColtonis
yeah thats correct, if your method is 10 lines long and your test method only tests 1 line of  code you would have 10% percent code coverage.