FakeForce
FakeForce copied to clipboard
apex Mocks
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.
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.