pact-foundation / roadmap

Developer Relations @ Pact - Your map to the Pact landscape for all-comers (maintainers, contributors, users, newbies)
https://pact.io/
MIT License
39 stars 6 forks source link

Access to internal test context information within a provider or consumer test #43

Open canny[bot] opened 6 days ago

canny[bot] commented 6 days ago

I'd like to be able to access test results information, especially in the Provider tests during a Junit4 test run. Currently it seems as though there's no way to see the results of the tests in a Provider test outside of via the result reporter files. I see that there is a context associated with the provider test, but it doesn't seem to be used. And there's also a callback collection that contains the results during the test execution. However, it appears to be private to the base class and there are no public/protected methods to access this information. Would it be possible to open up this information in a future release of the JVM libraries?

https://pact.canny.io/admin/board/feature-requests/p/access-to-internal-test-context-information-within-a-provider-or-consumer-test

canny[bot] commented 6 days ago

This issue has been linked to a Canny post: Access to internal test context information within a provider or consumer test :tada: