Commit Graph

166 Commits

Author SHA1 Message Date
Fabrice Reix
5f6917dc98
Add test for multiple Hurl files 2022-07-02 18:38:09 +02:00
Fabrice Reix
1017dffdf1
Add additional script for ad-hoc tests 2022-07-02 06:15:13 +02:00
jcamiel
cb9823bac2
Add integration test on --very-verbose. 2022-07-01 16:15:07 +02:00
jcamiel
1c8713ebe4
Add type hints to test_hurl.py 2022-07-01 13:30:30 +02:00
Fabrice Reix
daa95ce619
Remove additional spaces in verbose mode 2022-06-30 15:34:18 +02:00
Fabrice Reix
15582c03f6
Use expected pattern to compare textual stdout/stderr 2022-06-30 15:30:16 +02:00
Fabrice Reix
de79388be5 Support regex literal in query/subquery 2022-06-24 11:42:06 +02:00
Fabrice Reix
99768edcff Encode string variable in JSON body 2022-06-21 15:15:21 +02:00
Fabrice Reix
e239891ffc Use Template type for cookie value 2022-06-12 21:35:12 +02:00
Fabrice Reix
7fbbd9e1cb Test specific error message for Fedora 2022-05-17 21:12:57 +02:00
jcamiel
cf240a3921 Fix Brotli response body decoding. 2022-05-12 08:49:11 +02:00
lepapareil
c112f759f9 Double the timeout of the large test for ci compatibility with emulated arm64 2022-05-12 08:48:47 +02:00
jcamiel
7c6b03fc73 Fix implicit body asserts on compressed response body. 2022-05-11 17:36:48 +02:00
jcamiel
9b81ac1a95 Fix sha256, md5, bytes query on compressed body. 2022-05-11 10:18:03 +02:00
jcamiel
810089bd2a Fix redirection not followed with 'location' header. 2022-05-09 08:24:14 +02:00
jcamiel
057814555d Fix log verbose case. 2022-05-08 15:56:11 +02:00
Fabrice Reix
03b6c432d0 Update Tests integ 2022-04-12 07:51:35 +02:00
jcamiel
5a5393462a Use shorthand syntax in integration tests. 2022-04-01 14:43:11 +02:00
jcamiel
4371484fe4 Fixe Flask version for integration tests. 2022-04-01 11:51:38 +02:00
jcamiel
f63c078ea8 Add integration test for failed regex predicate. 2022-03-25 14:52:39 +01:00
Fabrice Reix
19a4a6042b Support @ for the username in [BasicAuth] section 2022-03-23 07:39:53 +01:00
jcamiel
80d1e6c726 Add integration tests on XPath/namespaces. 2022-03-14 17:18:37 +01:00
jcamiel
19a79fbec7 Fix curl command check error output. 2022-03-11 18:57:15 +01:00
Fabrice Reix
ce66121d03 Allow different types in JSON array 2022-03-10 15:54:40 +01:00
jcamiel
51dedfed14 Split integration tests between tests_ok / tests_failed repository. 2022-02-14 16:24:39 +01:00
jcamiel
fedcf08fb7 Update html export. 2022-02-11 11:04:48 +01:00
jcamiel
a049cd5404 Add comment on basic auth integration sample. 2022-02-11 11:04:48 +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
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
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
jcamiel
022d970c53 Exclude windows curl tests on Linux CI. 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
ac5c87ef78 Update JUnit XML report in integration 2021-12-16 11:43:38 +01:00
Fabrice Reix
165e79054e Report error on missing closing quote for quoted String 2021-12-10 09:01:47 +01:00
Fabrice Reix
2ae6e85f11 Update Junit Report
One testcase per Hurl file
Reuse exactly the same error message than command-line
2021-12-02 21:37:37 +01:00
lepapareil
b83da91c7d Add alpine-x64 test job to ci 2021-11-29 16:00:55 +01:00
Fabrice Reix
91cc14882a Update report 2021-11-26 21:06:03 +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