Skip to content

Commit

Permalink
docs: add command to run acceptance tests (#5025)
Browse files Browse the repository at this point in the history
  • Loading branch information
thisislawatts authored Jan 30, 2024
1 parent 49696b4 commit 8b8fc37
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,12 @@ Use [fake-server](./test/acceptance/fake-server.ts) to mock any Snyk API calls.

Place fixtures in `./test/fixtures`. Keep them minimal to reduce maintenance. Use [`createProject`](./test/jest/util/createProject.ts) to use your fixtures in isolated working directories for your tests.

You can run acceptance tests with:

```
npm run test:acceptance -- --selectProjects snyk
```

### Smoke Tests

Smoke tests typically don't run on branches unless the branch is specifically prefixed with `smoke/`. They usually run on an hourly basis against the latest published version of the CLI.
Expand Down

0 comments on commit 8b8fc37

Please sign in to comment.