bruno/packages/bruno-tests
busy-panda 62babef678 Merge branch 'main' into feature/1602-multipart-content-type
# Conflicts:
#	packages/bruno-lang/v2/src/jsonToBru.js
2024-09-09 11:49:38 +02:00
..
collection Merge branch 'main' into feature/1602-multipart-content-type 2024-09-09 11:49:38 +02:00
collection_level_oauth2 feat(#1003): collection level oauth2, access_token_url & scope for 'Client Credentials' and 'Password Credentials' grant types (#1691) 2024-03-04 15:21:05 +05:30
collection_oauth2 feat(#1003): collection level oauth2, access_token_url & scope for 'Client Credentials' and 'Password Credentials' grant types (#1691) 2024-03-04 15:21:05 +05:30
src Merge branch 'main' into feature/1602-multipart-content-type 2024-07-01 15:17:53 +02:00
.gitignore feat: bruno-tests package 2024-01-29 13:34:55 +05:30
.nvmrc feat: bruno-tests package 2024-01-29 13:34:55 +05:30
package.json feat(#1003): oauth2 support - resourceOwnerPasswordCredentials, authorization code, client credentials (#1654) 2024-02-26 16:44:38 +05:30
readme.md chore: deleted orphan package 2024-01-29 13:36:45 +05:30

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

License

MIT