mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-23 00:13:24 +01:00
29 lines
480 B
Markdown
29 lines
480 B
Markdown
|
# bruno-tests
|
||
|
|
||
|
This package is used to test the Bruno CLI.
|
||
|
We have a collection that sits in the `collection` directory.
|
||
|
|
||
|
### Test Server
|
||
|
|
||
|
This will start the server on port 80 which exposes endpoints that the collection will hit.
|
||
|
|
||
|
```bash
|
||
|
# install node dependencies
|
||
|
npm install
|
||
|
|
||
|
# start server
|
||
|
npm start
|
||
|
```
|
||
|
|
||
|
### Run Bru CLI on Collection
|
||
|
|
||
|
```bash
|
||
|
cd collection
|
||
|
|
||
|
node ../../bruno-cli/bin/bru.js run --env Local --output junit.xml --format junit
|
||
|
```
|
||
|
|
||
|
### License
|
||
|
|
||
|
[MIT](LICENSE)
|