w3c / vc-data-model-2.0-test-suite

W3C Verifiable Credentials v2.0 test suite
https://w3c.github.io/vc-data-model-2.0-test-suite/
Other
12 stars 15 forks source link

Add input capture for allure reporting #135

Open PatStLouis opened 1 month ago

PatStLouis commented 1 month ago

This will capture requests and response sent to the issuer/verifier for every call made, useful for debugging.

To avoid this creating unnecessary noise when running with the db reporter, the console logging is disabled when calling the attachment function.

BigBlueHat commented 1 month ago

I like it. Can you add info to readme on how to use it?

As long as #134 goes in first. 😁

@PatStLouis is Allure already configured for the weekly report runs? What happens if Allure is turned off or not configured (or goes missing / is down)?

PatStLouis commented 1 month ago

@tminard there is a section about running allure, you just need to initialize the tests with npx mocha tests/ then build the report with npx allure serve

The rest is automagical, just need to browse the report and the payload will be attached to their associated tests.

PatStLouis commented 1 month ago

@BigBlueHat currently this is all configured to be run locally, no standing allure server is setup. I can set one up if we want to explore this further.

The way its currently implemented, a user runs the test locally and runs the allure server from the command line The report will be available from the local host.