mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-24 08:53:30 +01:00
5713e19c23
* Update package.json * Update package.json * Update package.json * Update package.json * draft: collection varaibles * reverted jest command * precedence update * feat: updates * feat: updates * feat: updates * feat: pre-vars values as strings * feat: updates --------- Co-authored-by: lohit <lohit.jiddimani@gmail.com> Co-authored-by: lohit <lohxt.space@gmail.com> |
||
---|---|---|
.. | ||
collection | ||
collection_level_oauth2 | ||
collection_oauth2 | ||
src | ||
.gitignore | ||
.nvmrc | ||
package.json | ||
readme.md |
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.
# install node dependencies
npm install
# start server
npm start
Run Bru CLI on Collection
cd collection
# run collection against local server
node ../../bruno-cli/bin/bru.js run --env Local --output junit.xml --format junit
# run collection against prod server hosted at https://testbench.usebruno.com
node ../../bruno-cli/bin/bru.js run --env Prod --output junit.xml --format junit