Comments (3)
The paid feature here is the ability to edit the .js script in Bruno. But you can edit it in your own IDE, and require this script in pre/post script or tests without a golden license
from bruno.
@bpoulaindev : Perhaps you could make this clearer. Do you have some documentation on this feature?
from bruno.
This isn't mentioned in the docs you're right.
You can require a script placed at the root of your collection and require it this way :
const testScript = require('./script.js')
You could also require a script that is nested inside folders in your collection but you would have to specify, require assumes you start at your collection's root.
from bruno.
Related Issues (20)
- Collection Runner doesnt show up test status for previous data sets, when collection is run for multiple data sets via scripts HOT 3
- Error when click 'generate code' button HOT 3
- WSL Performance Issues HOT 6
- OAuth2: OAuth2 on collection level is always applied to Requests (no matter if the Request has noauth or inhert auth)
- Bruno 1.19.0 says that it's version is 1.18.0 in "About Bruno" dialog (Help Menu)
- Typo on the Github Bug Report Page
- [Issue] Path parameters are added as URL search parameters (v1.19.0) HOT 2
- Requests follow redirects but don't indicate this in the timeline HOT 1
- Mouse events are not registered at the bottom of the response window HOT 1
- Environment file name goes out of the notification box while switching
- Environment file name goes out of the modal box while deleting
- Left down icons overlay on the request names when chrome console opened HOT 3
- New Assertion : lengthBetween
- Markdown code blocks in darkmode are impossible to see
- It should be possible to see the number of the elements when searched in the response message HOT 1
- Request level vars don't update it's value after set first value while read from .bru file on app load
- [UI] Assert options on dark mode
- bru.setVar / getVar alter the content of strings
- Issues noticed exported collection when exported as Postman Collection
- [v1.20] unable to close collection - an error occurred while closing collection HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bruno.