https://github.com/gregros/what-the-test
Auto-detects the test framework being used.
https://github.com/gregros/what-the-test
ava interesting jasmine javascript jest library mocha nodejs package test-automation testing testing-tools typescript
Last synced: 5 months ago
JSON representation
Auto-detects the test framework being used.
- Host: GitHub
- URL: https://github.com/gregros/what-the-test
- Owner: GregRos
- License: mit
- Created: 2024-07-23T14:55:28.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-08-06T15:46:26.000Z (almost 2 years ago)
- Last Synced: 2025-11-27T12:17:34.430Z (7 months ago)
- Topics: ava, interesting, jasmine, javascript, jest, library, mocha, nodejs, package, test-automation, testing, testing-tools, typescript
- Language: TypeScript
- Homepage:
- Size: 3.52 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# what-the-test
[](https://github.com/GregRos/what-the-test/actions/workflows/push.yaml)
[](https://www.npmjs.com/package/what-the-test)
Automatically detects the running unit test framework and provides a unified interface for declaring tests. It _just works_ in both ESM and CJS environments. Don't need to `await` anything or change the code in any way.
The following test frameworks are supported:
1. Jest
2. Ava
3. Jasmine
4. Mocha
Only `jest` is thoroughly tested right now.