Skip to content

Commit 6632bd7

Browse files
committed
fix: unit/integration test guide
1 parent 0ea2ed8 commit 6632bd7

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

CONTRIBUTING.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,24 @@ To suggest a feature or enhancement, please create an issue on GitHub with the l
3232

3333
- Fork the repo, create a branch, implement your changes, add any relevant tests, submit a PR when your changes are **tested** and ready for review.
3434

35-
- **Unit Test**: run `make test` for NGINX OSS and `make test-plus` for NGINX Plus
36-
- **Integration/Manual test**: ensure that your changes work in either your app or the following runtime
35+
**Unit Test**:
36+
37+
- Run one of the following commands for **NGINX OSS**:
38+
```bash
39+
make test
40+
export NGINX_TYPE=oss && bash tests/test.sh --type oss
41+
```
42+
43+
- Run one of the following commands for **NGINX OSS**:
44+
```bash
45+
make test-plus
46+
export NGINX_TYPE=plus && bash tests/test.sh --type plus
47+
```
48+
49+
**Integration/Manual Test**:
50+
51+
Ensure that your lib changes properly work with either your app or the following runtime:
52+
3753
- [`nginx-s3-gateway`](https://github.com/nginxinc/nginx-s3-gateway)
3854
- [`nginx-lambda-gateway`](https://github.com/nginx-serverless/nginx-lambda-gateway)
3955

0 commit comments

Comments
 (0)