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
SabrentSabrent 

Test Class Injection

This seems a bit vague to me but someone recently approaced us  about a program that when injected into our existing classes, improves test coverage.

Is there any such  App/program  ?
Does anyone have experience or feedback on this?

Thanks.
Satish_SFDCSatish_SFDC

Not Sure about such apps but its better to create test classes ourselves. We know our code and what our code does. So we will have to test it on all positive and negative scenarious.
But cannot comment on this app as i am not sure what it does.

Regards,
Satish Kumar

Vinita_SFDCVinita_SFDC
Hello,

There is no such App. There is something calles dependency injection, refer following thread for a better understanding on this concept:

http://salesforce.stackexchange.com/questions/4017/test-future-dates
GunnarGunnar
No such thing. Learn to write unit tests and you will do just fine!
SabrentSabrent
Thanks everyone for your responses. Much appreciated.

We do write our own test classes. I was just curious.