parent | nav_order |
---|---|
CLI |
4 |
skuba bundles Jest as its testing framework. SEEK has standardised on Jest across frontend and backend development.
Executes Jest tests.
Arguments are passed through to the Jest CLI:
skuba test --coverage path/to/file.test.ts
skuba test
can automatically emit annotations in CI.
- Buildkite annotations are planned in future.
- GitHub annotations are enabled when CI and GitHub environment variables are present.
GitHub check runs are created with a default title of skuba/test
.
You can further qualify this by providing a displayName in your Jest config;
for example, the display name integration
will result in the title skuba/test (integration)
.
See our Jest guide for a more detailed configuration breakdown.