You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each calls in the groups of three should happen before any of the calls in the subsequent group, but order within a group is an implementation detail. I would like to be able to wrap each of those groups in a structure that allows them to be unordered so that if this changes in the future the test will not break.
The text was updated successfully, but these errors were encountered:
Any recommendations on what this would look like in terms of phake calls?
If not no problem just curios if you have thoughts on that piece?
On May 21, 2015 6:08 PM, "Patrick Schwisow" notifications@github.com
wrote:
Each calls in the groups of three should happen before any of the calls in
the subsequent group, but order within a group is an implementation detail.
I would like to be able to wrap each of those groups in a structure that
allows them to be unordered so that if this changes in the future the test
will not break.
—
Reply to this email directly or view it on GitHub #189.
I don't think there is currently a suitable wrapper in Phake, but I think something like Phake::anyOrder(...) with similar arguments as inOrder would work... both anyOrder and inOrder would need to support arguments that are calls to anyOrder, inOrder, or verify to allow flexibility in nesting.
Bump. I could use this feature at the moment, as I'm wanting to verify that a group of calls happens before other calls, but the ordering within the group itself isn't relevant.
See https://github.com/PSchwisow/phergie-irc-plugin-react-altnick/blob/1.0.0/tests/PluginTest.php#L117-L131.
Each calls in the groups of three should happen before any of the calls in the subsequent group, but order within a group is an implementation detail. I would like to be able to wrap each of those groups in a structure that allows them to be unordered so that if this changes in the future the test will not break.
The text was updated successfully, but these errors were encountered: