Skip to content

Log Level

Control the verbosity of [TESTOMATIO] prefixed messages using the TESTOMATIO_LOG_LEVEL environment variable.

LevelLogs Shown
ERROROnly errors
WARNWarnings and errors
INFOInfo, warnings, and errors (default)
Terminal window
TESTOMATIO_LOG_LEVEL=ERROR npm test
TESTOMATIO_LOG_LEVEL=WARN npm test
TESTOMATIO_LOG_LEVEL=INFO npm test
npm test
- name: Run tests
run: npm test
env:
TESTOMATIO: ${{ secrets.TESTOMATIO }}
TESTOMATIO_LOG_LEVEL: WARN

For detailed debugging, use the DEBUG environment variable (uses the debug package):

Terminal window
DEBUG=@testomatio/reporter:* npm test
DEBUG=@testomatio/reporter:pipe:testomatio npm test