FakeForce icon indicating copy to clipboard operation
FakeForce copied to clipboard

apex Mocks

Open cropredyHelix opened this issue 7 years ago • 1 comments

Not really an issue but I read your comment on ApexMocks and after dismissing it myself for some time due to complex syntax; I bit the bullet and took the time to learn it. For unit testing it is great. You can see some of my examples (from a practitioner's POV) rather than an ApexMocks designer POV. Coupled with sfab_SObjectFabricator, some useful stuff.

cropredyHelix avatar Oct 25 '17 22:10 cropredyHelix

Cheers for the link.

Someday I should dig deeper into ApexMocks, but some of the limitations are deal breaks for me, especially that iterators can't be used as return types of parameters.... being as I bulky my code, I'm constantly working with collections.

This means I'll need to build my own mocks anyway.

nilvon9wo avatar Dec 05 '17 13:12 nilvon9wo