Allow clearing the request log only in order to use the same expectations across multiple test cases #281

Closed
oded-goldstein opened this Issue Sep 5, 2016 · 4 comments

Projects

None yet

3 participants

@oded-goldstein

It would be great to add the ability to clear only the request log (and not the expectations).
This will enable setting the expectations once without reconfiguring the expectations between test scenarios.

@jamesdbloom
Owner
jamesdbloom commented Oct 12, 2016 edited

how are you clearing the log / expectations, I have added support to control clearly either logs or expectations or both, as follows:

"\clear?type=expectation" -- clears only expectations
"\clear?type=log" -- clears only logs
"\clear" -- clears both logs and expectations
@jamesdbloom
Owner

I have added support to the java client but not the javascript client or added documentation on the website

@jamesdbloom
Owner

done and documentation updated, this will be in the new release which will be released in the next few days

@Tandolf
Tandolf commented Oct 31, 2016

Im still waiting for the release of this feature. Is there any date set for the new build?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment