Hi everyone, I am working on CI integration with J...
# pact-ruby
i
Hi everyone, I am working on CI integration with Jenkins + Guthub and using pact gem. I am stuck upon showing count of successful/failed interactions as i can't find a way to provide output file using
out
option mentioned here https://github.com/pact-foundation/pact-ruby/commit/ca19aa844dd81800d206d7af60ab81fc47e07a64 as part of
rake pact:verify
command. The idea was to use the output format similar to rspec with following options
-r rspec_junit_formatter --format RspecJunitFormatter -o tmp/spec-report.xml
. Need some hint please.
b
The command line verifier supports this, but I’d need to do some digging to see if the same is supported in the native ruby
This is where the
out
and
format
get passed into the underlying pact gem from the pact-provider-verifier https://github.com/pact-foundation/pact-ruby/blob/master/lib/pact/provider/pact_spec_runner.rb#L145
i
Thanks for information, but I still can't understand how to pass these options to pact:verify rake command. Should I create a custom rake command for this?