Skip to content

[WIP] Add Tests#3

Open
erickhun wants to merge 4 commits into
mainfrom
task/dd-trace
Open

[WIP] Add Tests#3
erickhun wants to merge 4 commits into
mainfrom
task/dd-trace

Conversation

@erickhun

@erickhun erickhun commented Feb 24, 2020

Copy link
Copy Markdown
Contributor

The challenge here is to gather what will be sent to stdout:

some solutions:

  • redirect the logs to a file and test the file
  • use pino metadata
@erickhun

Copy link
Copy Markdown
Contributor Author

note :
@djfarrelly had a smart way to test stdout with its StdoutCapture function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant