isTestClassSource
isTestClassSource(
source):boolean
Defined in: packages/simply-apex-core/src/apexTestSuite.ts:66
Parameters
Section titled “Parameters”source
Section titled “source”string
Returns
Section titled “Returns”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)).