Skip to content

Commit

Permalink
docs(*): mention the test script in the README file
Browse files Browse the repository at this point in the history
  • Loading branch information
hishamhm committed Feb 6, 2024
1 parent 548a1f0 commit 81d47fe
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,13 @@ cargo build --release
```

This will produce a .wasm file in `target/wasm32-wasi/release/`.

Testing
=======

In the `test/` folder you will find a shell script called `demo.sh` which
builds the filter, then uses Docker to spin up a [Kong
Gateway](https://konghq.com) container with the filter enabled, and issues a
request using [httpie](https://httpie.io). It uses the configuration
`test/config`. You should see the `X-Greeting` header defined in that
configuration in the httpie output.

0 comments on commit 81d47fe

Please sign in to comment.