pact-foundation / pact-js

JS version of Pact. Pact is a contract testing framework for HTTP APIs and non-HTTP asynchronous messaging systems.
https://pact.io
Other
1.63k stars 347 forks source link

Log to file is missing from PactV3 #954

Open SMH110 opened 2 years ago

SMH110 commented 2 years ago

Hi 👋

Expected behaviour

Be able to log to a file. image

Actual behaviour

the log option is missing from PactV3Options interface image

mefellows commented 2 years ago

Thanks @SMH110, that's an omission on our part when we upgraded from 9.x.x to 10.x.x. There is now support in the rust core to log to file, but it hasn't been exposed in pact-js-core (a core module this uses). Leaving this open as a feature request.

For now, there is no log to file output. If you need that urgently, I'd suggest piping the command you use to run pact to file.

github-actions[bot] commented 1 year ago

👋 Hi! The 'smartbear-supported' label has just been added to this issue, which will create an internal tracking ticket in PactFlow's Jira (PACT-785). We will use this to prioritise and assign a team member to this task. All activity will be public on this ticket. For now, sit tight and we'll update this ticket once we have more information on the next steps.

See our documentaiton for more information.