Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add a wrapper script for running the tests #275

Merged
merged 1 commit into from
Dec 16, 2022

Conversation

spdawson
Copy link
Contributor

Description

Builds the Curio binary, runs the tests, and cleans up by deleting the built binary afterwards.

When invoked without arguments, runs the entire test suite in verbose, non-cached mode.

If any arguments are specified, these are passed through to the go test invocation.

E.g. To run all tests:

./scripts/run_tests.sh

To run just the integration tests:

./scripts/run_tests.sh ./integration/...

To run only the non-integration tests:

./scripts/run_tests.sh ./pkg/...

Checklist

  • I've added test coverage that shows my fix or feature works as expected.
  • I've updated or added documentation if required.
  • I've included usage information in the description if CLI behavior was updated or added.
  • PR title follows Conventional Commits format

Builds the Curio binary, runs the tests, and cleans up
by deleting the built binary afterwards.

When invoked without arguments, runs the entire test suite in
verbose, non-cached mode.

If any arguments are specified, these are passed through to
the `go test` invocation.

E.g. To run all tests:

```sh
./scripts/run_tests.sh
```

To run just the integration tests:

```sh
./scripts/run_tests.sh ./integration/...
```

To run only the non-integration tests:

```sh
./scripts/run_tests.sh ./pkg/...
```
@spdawson spdawson merged commit 802ebd9 into main Dec 16, 2022
@spdawson spdawson deleted the chore/test-wrapper-script branch December 16, 2022 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants