+ Start a Discussion
Srinu@dreamsSrinu@dreams 

Is it possible to write test class inside controller?

HariDineshHariDinesh

Hi,

 

Yes we can write test class in side class(main class).

 

You can specify like @isTest Annotation and methods will be declared as testmethod.