Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
New support for sequenced stub actions implemented. #49
Thanks a lot for the pull request. This is the biggest one so far!
Please take a look at the comments and let me know what you think.
Btw, I am writing from the phone now, will get back to
I've been thinking about this for couple of days, and then finally got back to the laptop, and could hack a little bit. The main concern now is that by keeping the queue inside the action object, we overload this (originally) very lightweight, well-composable and stateless concept.
This, for instance is perfectly fine now, but will become unsafe (because
How to avoid this? Keep configuration objects stateless, and push the state into higher-level concepts (like
I'm now doing some refactoring within Stubs-related code, based on your PR. It's still WIP, few tests fail, hope to finish it tomorrow to see how it looks in the end. Care to take a look?