Is there documentation on how verification failure...
# pactflow
t
Is there documentation on how verification failure details are sent to the pact broker? I tried the HAL browser on my hosted pactflow instance, but couldn’t find any extra details inside publish verification results (also, it would be great if all that documentation were available without the HAL browser - it took me about 30 minutes of mucking about to find a resource that had publish verification results as an option)
m
Sorry I missed this - your question timing was impeccable 😛
😂 1
@Beth (pactflow.io/Pact Broker/pact-ruby) do you have a better resource to link to?
b
ugh, I don’t actually know. the ruby impl still doens’t use the proper format.
the all in one format for the verifications has never been implemented
sorry, of all the crap documentation for the pact broker, this is the most crappily documented.
❤️ 1
What are you after specifically @Timothy Jones?
The exact JSON format?
t
I’m writing an alternative contract verifier (for non-pact contracts), and I want to tell the broker about the verification results in a way that will give the most information to users
I think the exact JSON format would answer that question, yes
but the real question is “how do I tell a Pactflow broker about detailed verification results?” (and perhaps also “is that different to the OSS broker?“)
b
there’s no diff between pactflow and oss APIs for this
t
Awesome
So the differences for verification results are in the UI?
b
i’m trying to find an example of a pact-jvm verification publication but all our internal verifications are still using the ruby impl
So the differences for verification results are in the UI?
well.. there is no UI for verificaiton results in the Pact Broker
😂 1
t
Oh cool, I can probably just read it out of the pact-jvm source
I’m happy to go to the source, but only if there isn’t already documentation for it
like I don’t want to go the long way around if there’s a short way
b
there may be a gist… but I’d trust rons impl over the gist
t
haha!
b
sorry, it’s apallingly documented.
my bad.
t
No stress. When I get to this (in a week or two I think) I’ll see if I can make some doco
b
i never implemented it in ruby, so I never documented it.
t
Where does doco go to end up in the HAL browser?
b
the ruby still uses the original format and the UI just munges it into the new format.
👍 1
it doesn’t have the format of the test results though
t
Awesome, thanks
If I figure it out, I’ll send a PR
b
you’re the best Tim!
💯 1
(ie. of all the Tims, you are the best Tim 😆 )
😂 2
t
My last team (genuinely) had someone else called Timothy Jones apply. One of the managers had to check with me to make sure I wasn’t trolling them.
😆 1
b
heheh
m
you’re the best Tim!
also, “you’re the best, Tim”
😂 1