Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playback return values by parameter values instead of order #8

Open
mkotsbak opened this issue Jun 5, 2010 · 1 comment
Open

Playback return values by parameter values instead of order #8

mkotsbak opened this issue Jun 5, 2010 · 1 comment
Labels

Comments

@mkotsbak
Copy link
Contributor

mkotsbak commented Jun 5, 2010

It should be possible to specify that all or some of the dependency calls (maybe by using annotation those places) are played back by the parameters they get instead of just the sequence they were called.

If there are several matches for the same parameters, the matches should be played back in order (in case there is some state or randomness in the dependency).

@jhannes
Copy link
Contributor

jhannes commented Jun 5, 2010

This may not be the right way to go. Too much flexibility will hide errors, when the whole point is regression test that the application doesn't change.

Anyhow, there are a few things regarding the playback that we may want to leave open. As the solution evolves, I expect the playback strategy to be encapsulated in a strategy. Adding alternative strategies may then be an option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants