apex-enterprise-patterns / fflib-apex-mocks

An Apex mocking framework for true unit testing in Salesforce, with Stub API support
BSD 3-Clause "New" or "Revised" License
423 stars 214 forks source link

Add support for subquery results #18

Closed jondavis9898 closed 8 years ago

jondavis9898 commented 8 years ago

Came across a need to generate subquery data today and came across this gem by Andrew from 2014 - http://andyinthecloud.com/2014/12/03/mocking-soql-sub-select-query-results/.

Not sure if the proper home for something like this is Apex Mocks or the upcoming test builder repo? I can see merit in both places. Thoughts?

dfruddffdc commented 8 years ago

You're right, I think it would be right at home in both repos. We have in fact brought it into ApexMocks in our internal repo, so it would be great to keep parity between the two as far as possible. I'll bring it across now.

jondavis9898 commented 8 years ago

Great addition, thank you! :+1: