Closed
Description
I had a discussion with Andras and Tim the other day that resulted in this suggestion:
some_provider
.uponReceiving("a request to do something that is not quite clear from just the request and response data")
...
.will_respond_with(202)
.comment("This allows me to specify just a bit more information about the interaction")
.comment("It has no functional impact, but can be displayed in the broker HTML page, and potentially in the test output")
.comment("It could even contain the name of the running test on the consumer side to help marry the interactions back to the test case")
{
"interactions": [
{
...
"comments": ["This allows me to specify just a bit more information about the interaction",
"It has no functional impact, but can be displayed in the broker HTML page, and potentially in the test output",
"It could even contain the name of the running test on the consumer side to help marry the interactions back to the test case"]
}
]
}
Metadata
Metadata
Assignees
Labels
No labels