@express-tool/plugin-testing
v2.0.1
Published
The Testing plugin sets up a modern testing environment for `express-tool` projects using Vitest and Supertest.
Downloads
31
Readme
Express Tool Testing Plugin
The Testing plugin sets up a modern testing environment for express-tool projects using Vitest and Supertest.
Installation
Included by default in created projects. Manual install:
npm install @express-tool/plugin-testingFeatures
- Vitest: Blazing fast unit and integration testing runner.
- Supertest: HTTP assertions for testing Express routes.
- Configuration: Pre-configured
vitest.config.ts/js. - Example Tests: Includes basic integration tests for health checks.
Usage
Run your tests with:
npm testLicense
MIT
