Commit Graph

75 Commits

Author SHA1 Message Date
Anoop M D
3061507284
Merge pull request #619 from mj-h/feature/add-bru-setNextRequest
feat: bru.setNextRequest()
2023-12-06 01:37:44 +05:30
Anoop M D
33f780fb76 fix(#295): bru.setEnvVar() should dynamically create a env var if not found 2023-12-02 01:45:55 +05:30
Anoop M D
bacb70ea7e feat(#931): relax var name strictness 2023-12-02 01:27:18 +05:30
Anoop M D
2aa876e526
Merge pull request #971 from nelup20/bugfix/964-env_var_dot_validation
fix(#964): Allow "." in variable names + make error message more consistent
2023-12-02 01:06:27 +05:30
Shourav Nath
fa7afd4237 feat(#1050): Response time in res 2023-11-25 13:00:59 +06:00
Anoop M D
d2a99b0221 fix(#962): improved error label when name is not defined while setting env var 2023-11-18 09:18:40 +05:30
Nelu Platonov
2ee6c5effc
fix(#964): Allow "." in variable names + make error message more consistent 2023-11-15 16:27:14 +01:00
Mika Andrianarijaona
500e3853a5 Improve error message when an empty var is set
Fixes #962
2023-11-14 16:33:27 +01:00
Anoop M D
0ce3deea86
Merge pull request #866 from Its-treason/bugfix/variable-name-validation
fix(#853): Allow - in variable names & small refactor
2023-11-03 20:25:31 +05:30
Boris Baskovec
fdb9b10353 Add node-vault library 2023-11-03 12:25:43 +01:00
Its-treason
44d90c42ed fix(#853): Allow - in variable names & small refactor 2023-11-02 18:17:21 +01:00
Martin Hoecker
4a1d45f458
Merge branch 'main' into feature/add-bru-setNextRequest 2023-10-26 22:34:05 +02:00
Anoop M D
1e435b8e10
Merge pull request #791 from Its-treason/feature/variable-name-validation
Enforce variable strictness & validation
2023-10-26 22:19:57 +05:30
DaPutzy
7fa68731d2 feat: allow multiple script context roots 2023-10-25 23:16:28 +00:00
Its-treason
827df18c62 feat(#682): Add validation for request vars & dynamic vars 2023-10-25 23:13:37 +02:00
Martin Hoecker
3374db1ac8
Merge branch 'main' into feature/add-bru-setNextRequest 2023-10-24 22:38:44 +02:00
Anoop M D
7484a8a72b refactor: post response lifecyle execution 2023-10-18 11:53:10 +05:30
Anoop M D
b6da0b2113 chore: pr #632 polish 2023-10-18 10:54:51 +05:30
Heikki Pölönen
544edfa7d7 Adds variable interpolate to assert runtime 2023-10-17 11:42:40 +03:00
Martin Hoecker
d4c0207545
feat: bru.setNextRequest() 2023-10-16 17:29:26 +02:00
Dipin Jagadish
ad3f1b2331 feat: use timeout for axios requests 2023-10-15 18:26:17 +01:00
Anoop M D
774ce327a9
Merge pull request #527 from martinsefcik/feature/507
Added support for debug level for console logging in scripts
2023-10-13 05:29:50 +05:30
Martin Sefcik
f9f3b3ebc0 feat(#507): added support for debug level for console logging in scripts 2023-10-10 12:24:28 +02:00
Oleksii Slabchenko
91b1814c55 Fix #437 (start/endWith assertions) 2023-10-10 01:31:05 +02:00
Michał Szymborski
2b25a0be18 fix(#473) add Ajv to the test runtime 2023-10-09 20:23:07 +02:00
Anoop M D
524c3f8445
Merge pull request #488 from lared/bugfix/set-up-ajv-in-scripts
fix(#473) add Ajv to the runtime
2023-10-09 22:15:17 +05:30
Michał Szymborski
c67cf6cca2 fix(#473) add Ajv to the runtime 2023-10-09 18:41:29 +02:00
Oleksii Slabchenko
024f61a95e Fix 'between' assertion 2023-10-07 22:42:13 +02:00
Anoop M D
e3679c9ee9 feat(#306): module whitelisting support 2023-10-07 03:19:02 +05:30
Anoop M D
0cf18e6804 feat(#306): allow fs access inside scripts 2023-10-05 03:20:53 +05:30
Anoop M D
45042cd52a
Merge pull request #243 from LesageYann/feat/allow-async-tests
feat: allow test to be asynchrone
2023-09-29 12:42:57 +05:30
Lesage Yann
314e8c17d3 feat: allow test to be asynchrone 2023-09-29 08:55:26 +02:00
Josh Soref
7ba471f26a spelling: serialization
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-09-28 14:11:49 -04:00
Josh Soref
8f803234ce spelling: javascript
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-09-28 14:11:49 -04:00
Anoop M D
a3050db6c4 fix(#216): fixed issue where .env vars were not injected into bru.getEnvVar() 2023-09-28 04:32:07 +05:30
Anoop M D
8780d309ac feat: exposing chai library in script and test runtimes 2023-09-27 23:47:56 +05:30
Anoop M D
2515e78a10 feat(#200): req.setMaxRedirects() api 2023-09-25 00:09:29 +05:30
Anoop M D
1c89ab3450 fix: fixed issue where vm2 instantiated objects were not being sent to renderer process 2023-09-23 03:14:27 +05:30
Anoop M D
5af2f68252 chore(#197): ran prettier on packages/bruno-js 2023-09-22 00:42:14 +05:30
Anoop M D
f9ed68843d feat(#190): Console Logs in scripts should be written into developer console 2023-09-14 00:20:04 +05:30
Anoop M D
7fbd338fa6 feat: bru.getEnvName() 2023-09-06 20:36:55 +05:30
Anoop M D
fd4c188c95 feat(#177 #165): running tests and assertions for error responses 2023-08-30 21:35:59 +05:30
David Coomber
3ca0107f1b Proposal to support process.env in Bru script Re #170 2023-08-11 19:48:09 +02:00
Anoop M D
8e0bc68ada feat: support node-fetch as an inbuilt library (#138) 2023-04-20 10:51:29 +05:30
Divy Mohan Rai
0ac27dee56 feature(async-script): adding support for using async pre-request scripts 2023-04-15 12:33:45 +05:30
Anoop M D
d346970241 fix: fixed issue where unsaved changes where not being picked up while running tests (#125) 2023-03-29 12:43:47 +05:30
Anoop M D
78251c530c feat: added custom assertion for chaijs for match() method 2023-03-23 21:36:35 +05:30
David Coomber
5c15438949 Updated plugin to be addProperty Re #132 2023-03-22 20:56:35 +02:00
David Coomber
d21e7f6fb5 Added Chai.js plugin to cater for isJson assertion Re #132 2023-03-21 17:30:45 +02:00
David Coomber
074d72d885 Add chai-http to enable to.be.json assertions Re #132 2023-03-19 21:08:19 +02:00