Log Level
Control the verbosity of [TESTOMATIO] prefixed messages using the TESTOMATIO_LOG_LEVEL environment variable.
Levels
Section titled “Levels”| Level | Logs Shown |
|---|---|
ERROR | Only errors |
WARN | Warnings and errors |
INFO | Info, warnings, and errors (default) |
TESTOMATIO_LOG_LEVEL=ERROR npm test
TESTOMATIO_LOG_LEVEL=WARN npm test
TESTOMATIO_LOG_LEVEL=INFO npm test
npm testCI Example
Section titled “CI Example”- name: Run tests run: npm test env: TESTOMATIO: ${{ secrets.TESTOMATIO }} TESTOMATIO_LOG_LEVEL: WARNDebug Mode
Section titled “Debug Mode”For detailed debugging, use the DEBUG environment variable (uses the debug package):
DEBUG=@testomatio/reporter:* npm testDEBUG=@testomatio/reporter:pipe:testomatio npm testSee Also
Section titled “See Also”- Configuration - All environment variables
- Debug File - Understanding debug output files