Ending a state definition
See original GitHub issueIn pact-jvm-consumer-junit (and others?) there is currently no way to end a “given” definition, this makes it easy to accidentally place more requests that should’nt be in that state. One way around this is using states for all requests but I don’t think that should feel as forced as it currently is.
.given("mystate")
.uponReceiving("post my request")
.matchPath("/api/.+/.+/.+")
.method("POST")
.willRespondWith()
.status(200)
.body("string result")`
.endGiven() <---
.uponReceiving...
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
END STATE (noun) definition and synonyms
1. the situation reached at the end of a process; the final outcome. What matters in the Brexit negotiations is the end state...
Read more >End-state Definition & Meaning
Define end-state. End-state as a noun means (military) The specified situation at the successful completion of the final phase of a military operation.....
Read more >End state
end state. The set of required conditions that defines achievement of the commander's objectives. Dictionary of Military and Associated Terms. US Department of ......
Read more >end state - definition and meaning
end state: The specified situation at the successful completion of the final phase of a military operation.
Read more >end state Definition
end state means the state in the final stage of radioactive waste management in which the waste is passively safe and does not...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@uglyog confirmed:
I think this ticket can be closed.
Released 4.1.24 and 4.2.9