Fabrice Reix
5e9a94a430
Format python files with black formater
2022-02-05 18:15:41 +01:00
jcamiel
44910a082a
Add error integration tests.
2022-02-05 17:30:10 +01:00
jcamiel
0177dc1b43
Check that data file is a child of user provided context dir.
2022-02-05 17:30:10 +01:00
Fabrice Reix
227228e1bb
Check number of tests is valid
2022-02-05 12:41:43 +01:00
Fabrice Reix
b83bbf67ed
Add Regex predicate value
2022-01-29 15:59:55 +01:00
jcamiel
dab0b66ec7
Use Path/PathBuf struct when appropriates.
...
We use PathBuf in ClientOptions, and RunnerOptions an &Path in functions if possible.
2022-01-28 10:46:46 +01:00
Fabrice Reix
c0b1acb5eb
Add square brackets in key-string
2022-01-25 17:14:07 +01:00
jcamiel
f023e99e08
Add integration tests for --user-agent option.
2022-01-21 18:35:19 +01:00
jcamiel
f08335e9ad
Use new line for splitting options.
...
This allows us to use options value with space in integration tests.
2022-01-21 16:03:00 +01:00
Fabrice Reix
b056ee5245
Increase max response for large test
2022-01-07 21:08:06 +01:00
Fabrice Reix
4a4838448d
Support filter with nested object in jsonpath expression
2021-12-20 21:02:25 +01:00
Fabrice Reix
82894a8a1a
Add BasicAuth section
2021-12-17 08:14:40 +01:00
Fabrice Reix
6d7d9fe973
Fix Memory Allocation error (usize cast)
2021-11-26 11:30:29 +01:00
Fabrice Reix
af6b60eec1
Using Floating-point for the Float Value
2021-11-21 21:51:09 +01:00
Fabrice Reix
e46d44b4a8
Update assert duration
2021-11-14 21:35:51 +01:00
Fabrice Reix
809609a442
Set variables from HURL_ environment variables
2021-11-11 19:10:09 +01:00
Fabrice Reix
dd98920f80
Update output
...
Can now be on the following:
- Binary response body
- JSON
- Textual Summary
2021-11-11 18:24:48 +01:00
Fabrice Reix
96306bfa57
Update Test integ
2021-10-29 18:40:18 +02:00
Fabrice Reix
8398c24fe7
Display libcurl error code/message
2021-10-23 10:36:08 +02:00
Fabrice Reix
ddbb639496
Add test for non-utf8 sequence
2021-10-17 20:33:21 +02:00
Fabrice Reix
b6f8797904
Parse more characters in URLs
2021-10-17 13:49:23 +02:00
Fabrice Reix
8be45d56a7
Add asserts in JSON output
2021-10-16 14:10:33 +02:00
Fabrice Reix
852a9cb06e
Add integ test for JSON output
2021-10-14 11:01:44 +02:00
Fabrice Reix
09115f3228
Support tidle in url
2021-10-14 09:17:49 +02:00
Fabrice Reix
497124c3c2
Test --test option
2021-10-08 09:31:15 +02:00
Fabrice Reix
f02a849e78
Add tests for jsonpath filter
2021-09-30 09:03:20 +02:00
Fabrice Reix
a9f3f3ddcc
Add option --ignore-asserts
2021-09-26 09:56:14 +02:00
Fabrice Reix
60de1be7a0
Update integ test
2021-09-25 09:17:33 +02:00
Fabrice Reix
bd540070e0
Accept hyphen in variable name
2021-09-10 17:35:23 +02:00
Fabrice Reix
187ca03698
Escape Hash(#) in hurl string value
2021-09-10 08:37:15 +02:00
Fabrice Reix
bde283f6c3
Fix parsing json body
2021-07-25 11:01:04 +02:00
Fabrice Reix
84cdc49b22
Remove unnecessary checks
...
Runtime errors are tested by error hurl files (error_*.hurl),
while export to JSON/HTML is tested by *.json and *.html files.
The error files do add more syntax/functionalities than the standard/non-error hurl files,
therefore, it is not useful to test (and maintain) their JSON/HTML export.
2021-07-25 08:27:34 +02:00
Fabrice Reix
47ae21f6df
add endsWith predicate
2021-07-16 08:18:58 +02:00
Fabrice Reix
3a25d516ab
Add md5 query
2021-07-14 21:38:15 +02:00
Fabrice Reix
1b30968c95
Support startsWith and contains with bytes
2021-07-07 15:44:48 +02:00
Fabrice Reix
6d4308df73
Add hex body
2021-07-04 18:49:20 +02:00
Fabrice Reix
2fee06d379
Clean html output
2021-07-03 13:23:53 +02:00
Fabrice Reix
4fe77e284d
Add predicate value base64
2021-07-02 18:51:58 +02:00
Fabrice Reix
d9630ed685
Add raw string in predicate value
2021-07-01 20:02:47 +02:00
Fabrice Reix
31809edb9f
Add notEquals query (!=)
2021-06-27 14:00:19 +02:00
Fabrice Reix
609868c858
Add subquery count
...
predicate countEquals becomes deprecated and is replaced by count ==
2021-06-27 09:20:03 +02:00
Fabrice Reix
424f8a59a0
Fix json export for less predicate
2021-06-24 20:29:19 +02:00
Fabrice Reix
8844c1e60a
Add operators for arithmetic predicates
2021-06-19 08:52:45 +02:00
Fabrice Reix
2b0a38846a
Improve assert Error for bytearray
2021-06-17 22:20:06 +02:00
Fabrice Reix
ead46740ab
Add sha256 query
2021-06-17 20:28:13 +02:00
Fabrice Reix
93c2fede66
Add bytes query and equals predicate for bytearray
2021-06-16 21:13:17 +02:00
Fabrice Reix
651e823a0b
Specify Host in CouldNotResolveHost Error
2021-06-12 09:21:58 +02:00
Fabrice Reix
fa46137ebe
Improve error message for countEquals predicate
2021-06-11 08:37:37 +02:00
Fabrice Reix
2f18340f00
Initialise Error Handler with a native "silent" callback
...
The callback can not be implemented because it needs to be variadic
2021-06-03 09:14:03 +02:00
Fabrice Reix
f9f3f55baf
Output curl command for each request at runtime
2021-05-23 09:44:38 +02:00