mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-15 20:01:28 +00:00
* refactor: comment out unused API hints in autocomplete.js * refactor: comment out unused API translations in postman and bruno translators Temporarily disable certain API translations due to UI update issues affecting their functionality. A note has been added to restore these translations once the UI fixes are implemented. * refactor: temporarily skip tests for collection variable translations due to UI update issues Commented out tests related to `setCollectionVar`, `deleteCollectionVar`, and related functionalities until the necessary UI updates are implemented. A note has been added to restore these tests once the fixes are live. * refactor: comment out variable deletion and retrieval methods due to UI sync issues * revert: ping.bru * refactor: update postman translation tests to enable previously skipped cases
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