Skip to content

isTestClassSource

isTestClassSource(source): boolean

Defined in: packages/simply-apex-core/src/apexTestSuite.ts:66

string

boolean

Whether source (an Apex class file’s full text) is @IsTest-annotated — its first meaningful line (skipping leading blank lines and comments) starts with @IsTest, case-insensitive, optionally followed by arguments (e.g. @IsTest(SeeAllData=true)).