Skip to content

Testing Solution 3 - Lambda Factory function#12

Draft
riley-dixon wants to merge 3 commits intodevelopfrom
rildixon/batch-mock-operation-3
Draft

Testing Solution 3 - Lambda Factory function#12
riley-dixon wants to merge 3 commits intodevelopfrom
rildixon/batch-mock-operation-3

Conversation

@riley-dixon
Copy link
Owner

This PR explores using a lambda to decide how to create a new IBatchOperation in the class.

This PR also explores providing a container to store configured MBatchOperations to provide greater control over the mocks that get submitted to the BatchContext.

This allows for unit testing to switch what kind of IBatchOperation
gets made.

This also explores providing a testing queue to allow a test to
create and modify the mocks that get generated from the factory
for additional control.

Some changes here should not be included in the final PR. These
have been clearly marked, and are used to verify that the factory
is working as intended.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant