Commit Graph

935 Commits

Author SHA1 Message Date
Fabrice Reix
b62a09f887
Fix xpath filter in JSON output 2023-11-08 15:18:57 +01:00
Fabrice Reix
74edc18bd2
Add jsonpath filter 2023-11-08 15:18:52 +01:00
hurl-bot
1d4e265507
Update crates 2023-11-07 09:17:34 +00:00
Fabrice Reix
d2a220fb05
Generating Clap commands source file 2023-11-06 11:14:24 +01:00
Fabrice Reix
3551978a95
Uniformize report_ options 2023-11-02 17:46:15 +01:00
robozati
97a02f3990
Update the JSON parser to account for fabricereix changes 2023-11-02 08:59:45 +00:00
robozati
e0d9bb929e
Change ParserError::Json to use a JsonErrorVariant enum and add a
new check to account for unresolved names
2023-11-02 08:59:44 +00:00
robozati
678aaca9f3
Improve JSON body parsing error reporting
Adds more checks to account for empty elements, commas after the last
element that shouldn't be there and braces not closed.
2023-11-02 08:59:43 +00:00
jcamiel
c72f04fa0e
Remove xmltree/indexmap dependency.
Due to xmltree re-exposing an older version of indexmap, we couldnt' upgrade to the latest version of indemap.
xmltree is a tree in-memory representation of an XML document that we use for JUnit export. As xmltree is a thin layer above xml-rs, we re-implement a thin tree in-memory XML document using xml-rs directly and remove xmltree/indexmap dependency.
2023-11-01 20:23:49 +01:00
jcamiel
842a167433
Add DOM XML parser based on xml-rs. 2023-11-01 19:38:50 +01:00
hurl-bot
7313b61350
Update crates 2023-10-31 03:01:52 +00:00
jcamiel
0757d5e7aa
Add failed test in HTML/JUnit/TAP reports 2023-10-27 14:43:13 +02:00
msinton
20982f4ce7
Report failures with nok 2023-10-27 11:25:51 +02:00
hurl-bot
406da0cfd5
Update crates 2023-10-27 03:01:54 +00:00
hurl-bot
b8fe095800
Update crates 2023-10-25 03:01:52 +00:00
robozati
21235c655e
Add SourceInfo to Comment 2023-10-23 22:07:32 +00:00
hurl-bot
717857950d
Update crates 2023-10-23 14:46:55 +02:00
jcamiel
fe39f031b9
Update docs with HTTP/3 2023-10-21 19:34:42 +02:00
jcamiel
e504f5458e
Extract libcurl handle configuration to a method. 2023-10-21 19:12:10 +02:00
jcamiel
935a4cf170
Work on img docs. 2023-10-21 18:27:53 +02:00
Fabrice Reix
ada42acb32
Add option skip 2023-10-21 11:04:01 +02:00
Fabrice Reix
58b249ffa1
Support template in option values 2023-10-19 14:42:50 +00:00
jcamiel
5ee6aa393b
Synchronise manual with http1.0, http1.1, http2, http3, ipv4 and ipv6 options. 2023-10-19 13:39:18 +00:00
jcamiel
662c550eb8
Add --ipv4/--ipv6 option 2023-10-18 14:37:42 +00:00
hurl-bot
398a991510
Update crates 2023-10-18 13:16:45 +00:00
Fabrice Reix
b3e72f900b
Extract option parser in its own module 2023-10-17 10:53:24 +02:00
hurl-bot
03ee2840db
Update crates 2023-10-17 03:01:54 +00:00
Fabrice Reix
089dd46132
Refacto eval_expression returning a Value rather than a String 2023-10-16 08:56:34 +02:00
jcamiel
6a66b1dcd2
Remove unused url field in some errors structs 2023-10-14 23:33:52 +02:00
jcamiel
61fd37b2ae
Add error message for unsupported HTTP version. 2023-10-14 23:33:35 +02:00
hurl-bot
efadd8d858
Update crates 2023-10-14 20:26:20 +00:00
hurl-bot
897da088b8
Update crates 2023-10-13 06:32:25 +00:00
jcamiel
9d5b611b9e
Adapt test excepted stderr to take libcurl multipart boundary size change in 8.4.0+.
See https://github.com/curl/curl/pull/11838/files where `define MIME_RAND_BOUNDARY_CHARS` has been changed from 16 to 22.
The new pattern on 'Content-Lenght' works for previsous and newer libcurl version.
2023-10-12 23:23:11 +02:00
jcamiel
d58ecce62b
Change field name. 2023-10-11 10:23:38 +02:00
jcamiel
4363aa9875
Force refreshing libcurl connections if HTTP version requested change 2023-10-11 09:13:44 +02:00
jcamiel
8c57a78f08
Introduce RequestedHttpVersion enum for specify the requested HTTP version. 2023-10-10 18:47:39 +02:00
jcamiel
e843dc7785
Remove unnecessary clone. 2023-10-10 15:04:19 +02:00
hurl-bot
3d79234674
Update crates 2023-10-10 03:01:48 +00:00
jcamiel
4ae0465839
Add integration test for hurl --help. 2023-10-09 18:13:03 +02:00
Zac Pitones
f2e4023218
add timestamps to HTML reports 2023-10-09 09:58:43 -05:00
hurl-bot
b31a26f41d
Update crates 2023-10-09 14:14:06 +00:00
jcamiel
1986c0ca13
Add --http3 option. 2023-10-08 17:25:00 +02:00
jcamiel
473084aeb7
Add integration test for --http2 option. 2023-10-08 14:38:36 +00:00
jcamiel
b4e53f1489
Add --http2 option. 2023-10-08 14:38:35 +00:00
jcamiel
50adeccdfa
Upgrade to Rust 1.73 2023-10-08 00:49:02 +02:00
Niklas Mollenhauer
6ec6a889d5
cargo fmt 2023-10-07 08:57:18 +00:00
Niklas Mollenhauer
d6d14cfec7
Fix report version marker 2023-10-07 08:57:17 +00:00
Niklas Mollenhauer
581e8865d8
Add support for TAP version header
TAPv13 states that there might be a version header:
https://testanything.org/tap-version-13-specification.html

This change is compatible with earlier TAP versions,
because they should ignore all output that does not start with `ok`/`not ok`

There are TAP consumers that require a TAP version to be present [1].

[1]: https://github.com/test-summary/action
2023-10-07 08:57:16 +00:00
jcamiel
ee98301902
Hide deprecated fail-at-end flag. 2023-10-06 17:24:33 +02:00
Fabrice Reix
aeca943cf7
Support template in keys 2023-10-06 10:18:52 +02:00