Rationale
The use of the testMethod keyword has been deprecated by Salesforce. Annotating test methods with @IsTest
is the recommended approach.
Scope
Apex test classes
Apex test methods
The use of the testMethod keyword has been deprecated by Salesforce. Annotating test methods with @IsTest
is the recommended approach.
Apex test classes
Apex test methods