Commit Graph

947 Commits

Author SHA1 Message Date
Fabrice Reix
745fb1d193 Format all the python files in the project 2022-02-06 18:45:39 +01:00
Fabrice Reix
5e9a94a430 Format python files with black formater 2022-02-05 18:15:41 +01:00
Fabrice Reix
b3246fef1b Fix shellsheck errors 2022-02-05 18:15:41 +01:00
Fabrice Reix
ae00b9b832 Add shell/python checks 2022-02-05 18:15:41 +01:00
jcamiel
3efe215e0e Delete unnecessary integration test.
/data.bin is a now a valid filename, provided one use --file-root option.
2022-02-05 17:30:10 +01:00
jcamiel
fc661c6f68 Fix unit test. 2022-02-05 17:30:10 +01:00
jcamiel
35fbdb3d8e Fix format. 2022-02-05 17:30:10 +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
jcamiel
eb39f2f209 Generate man page. 2022-02-05 14:45:47 +01:00
Fabrice Reix
227228e1bb Check number of tests is valid 2022-02-05 12:41:43 +01:00
jcamiel
77193af6ed Delete deprecated html report options. 2022-02-02 09:12:50 +01:00
Fabrice Reix
b83bbf67ed Add Regex predicate value 2022-01-29 15:59:55 +01:00
Fabrice Reix
45b15e8b7f Remove warnings for Windows 2022-01-29 10:36:15 +01:00
lepapareil
e41a90899f Disable doc tests on windows 2022-01-29 10:36:15 +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
jcamiel
022d970c53 Exclude windows curl tests on Linux CI. 2022-01-28 10:46:46 +01:00
Fabrice Reix
39410eea0f Update crate serde to 1.0.136 2022-01-26 09:28:01 +01:00
Fabrice Reix
757043633b Update crate libflate to 1.1.2 2022-01-26 09:27:53 +01:00
Fabrice Reix
8050e2f5d9 Do not run doc tests for docker Alpine 2022-01-26 16:50:04 +01:00
lepapareil
590121ce10 Dynamically link to the system musl for dockerized Alpine build https://github.com/sfackler/rust-openssl/issues/1462#issuecomment-826089294 2022-01-26 16:50:04 +01:00
lepapareil
8a6c6dc6a7 Install latest Rust manually for dockerized tests 2022-01-26 16:50:04 +01:00
Fabrice Reix
c0b1acb5eb Add square brackets in key-string 2022-01-25 17:14:07 +01:00
jcamiel
df9c081605 Update dependencies serde 1.0.135 et serde_json 1.0.78 2022-01-24 16:46:35 +01:00
jcamiel
e55030816f Use reference in eval_template_element. 2022-01-24 16:39:06 +01:00
jcamiel
96b861191e Use reference in eval_template. 2022-01-24 16:39:06 +01:00
jcamiel
ca14e77619 Use short option for macOS compatibility. 2022-01-24 14:47:30 +01:00
jcamiel
771fc97dc3 Fix doc tests. 2022-01-21 18:35:19 +01:00
jcamiel
f023e99e08 Add integration tests for --user-agent option. 2022-01-21 18:35:19 +01:00
jcamiel
3ef65a59f8 Use default value for ClientOptions. 2022-01-21 18:35:19 +01:00
jcamiel
3c361d7e70 Remove unnecessary clone. 2022-01-21 18:35:19 +01:00
jcamiel
8b1fd13f90 Add optional user agent to executed request or default. 2022-01-21 18:35:19 +01:00
jcamiel
e47fd99191 Add user_agent field to CliOption. 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
jcamiel
2f16ab414c Update serde 1.0.134 2022-01-21 16:01:40 +01:00
jcamiel
77b1d30408 Delete unnecessary clone. 2022-01-19 09:56:28 +01:00
jcamiel
e9d2989369 Update serde_json 1.0.75 2022-01-16 19:44:56 +01:00
jcamiel
d48e3675ff Use reference and string slice in get_header_values. 2022-01-16 19:44:40 +01:00
jcamiel
df38771685 Use default value for ClientOptions initialisations in tests. 2022-01-15 20:57:29 +01:00
jcamiel
171bc5b9aa Use from_secs build function. 2022-01-15 20:57:29 +01:00
jcamiel
e129d8fbc1 Update brotli 3.3.3 2022-01-15 20:54:00 +01:00
jcamiel
09ae79bff5 Fix man typo. 2022-01-14 17:26:37 +01:00
jcamiel
d90c891e47 Fix new clippy warnings on 1.58.
Mainly unnecessary calls to to_string on types that implements Display traits <https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args>.
2022-01-14 14:22:36 +01:00
Fabrice Reix
04ab5edadd Update crate curl to 0.4.42 2022-01-12 18:28:30 +01:00
Fabrice Reix
3f8d291857 Update crate indexmap to 1.8.0 2022-01-12 18:28:30 +01:00
Fabrice Reix
56f0a2c82b Display next request in Interactive mode 2022-01-12 18:15:54 +01:00
jcamiel
a3a500baae Update copyright for 2022 2022-01-12 17:14:40 +01:00
lepapareil
dd8d74aecf Update ubuntu image version used by Circleci 2022-01-12 09:48:55 +01:00
Fabrice Reix
b056ee5245 Increase max response for large test 2022-01-07 21:08:06 +01:00
Fabrice Reix
e4742b11c9 Update crate sha2 to 0.10.1 2022-01-07 21:08:06 +01:00