Node.js Reporters
TestPig.io provides first-class support for all major Node.js testing frameworks. Our reporters are designed to work seamlessly with your existing test setup, providing rich insights without changing your workflow.
🐳 Docker Support
NEW: TestPig now includes seamless Docker support! The testpig-git-env CLI utility automatically provides proper git information to your Docker containers.
📖 Docker Usage Guide - Learn how to run your tests in Docker with full git context
Available Reporters
We currently support these popular Node.js testing frameworks:
Jest: The popular testing framework with built-in mocking and assertion capabilities
Cypress: End-to-end testing framework for web applications
Mocha: The flexible JavaScript test framework for Node.js
Playwright: End-to-end testing for modern web apps
WebdriverIO: Next-gen browser and mobile automation test framework
Vitest: Vite-native test runner with a Jest-compatible API
Coming Soon
We're actively working on reporters for these frameworks:
CucumberJS: Behavior-driven development testing framework
Jasmine: Zero-config testing framework with built-in assertions
- Supertest: HTTP assertions library for API testing
- Puppeteer: Headless Chrome Node.js API for browser testing
- Karma: Test runner focusing on Angular applications
Common Features
All of our Node.js reporters share these powerful features:
- Detailed test reporting including durations, errors, and metadata
- Rich error context for fast debugging
Installation
Each reporter is available as an NPM package:
npm install @testpig/jest-reporter --save-dev
# or
npm install @testpig/cypress-reporter --save-dev
# etc.
Environment Variables
For all Node.js reporters, you can use these environment variables for configuration:
TESTPIG_PROJECT_ID=your-project-id
TESTPIG_RUN_ID=your-run-id
TESTPIG_API_KEY=your-api-key
Getting Help
If you encounter any issues with our Node.js reporters:
- Check the specific reporter documentation for troubleshooting tips
- For reporter-specific code issues, submit a GitHub issue to the appropriate repository
- Visit support.testpig.io for all bugs, feature requests, account or technical issues