jcamiel
361fd8bd63
Add progress bar for tests.
2023-02-12 14:59:55 +01:00
Fabrice Reix
a7e4c8c139
Fix allowfailure
2023-01-17 13:08:23 +01:00
Fabrice Reix
0543431490
Refacto Test integ SSL
2023-01-11 14:55:13 +01:00
jcamiel
06c706210f
Output curl logs in very-verbose.
2022-10-19 21:19:37 +02:00
jcamiel
95a647bde2
Use generic foo.out.pattern instead of foo.output.json
...
foo.output.json was hand written to remove non-constant fields (like time, date etc...)
We have now a more simple and generic way of testing variable output with .pattern files. Plus, expected JSON output is more complete.
2022-10-10 11:35:12 +02:00
Kian-Meng Ang
3a5ff7dcb2
Fix typos
...
Found via `codespell -S contrib,target -L crate,asser,te,pleas`
2022-10-01 18:48:18 +08:00
jcamiel
84e7cbee23
Delete os customisation for .err in favor of .err.pattern
2022-08-26 16:13:02 +02:00
jcamiel
d35653e500
Use default exit code 0 for tests_ok integration tests.
2022-08-05 20:57:19 +02:00
jcamiel
f174f12cd5
Escape \ when transforming pattern to regex.
2022-07-29 14:10:16 +02:00
jcamiel
2c9f0c649b
Fix exit code when use as module.
2022-07-21 10:43:04 +02:00
jcamiel
1c8713ebe4
Add type hints to test_hurl.py
2022-07-01 13:30:30 +02:00
Fabrice Reix
15582c03f6
Use expected pattern to compare textual stdout/stderr
2022-06-30 15:30:16 +02:00
Fabrice Reix
7fbbd9e1cb
Test specific error message for Fedora
2022-05-17 21:12:57 +02:00
jcamiel
810089bd2a
Fix redirection not followed with 'location' header.
2022-05-09 08:24:14 +02:00
jcamiel
19a79fbec7
Fix curl command check error output.
2022-03-11 18:57:15 +01:00
Fabrice Reix
5e9a94a430
Format python files with black formater
2022-02-05 18:15:41 +01:00
jcamiel
022d970c53
Exclude windows curl tests on Linux CI.
2022-01-28 10:46:46 +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
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
852a9cb06e
Add integ test for JSON output
2021-10-14 11:01:44 +02:00
Fabrice Reix
24932394e2
Print stderr if exitcode does not match
2021-10-08 09:31:15 +02:00
Fabrice Reix
f9f3f55baf
Output curl command for each request at runtime
2021-05-23 09:44:38 +02:00
Fabrice Reix
99b811fa70
Run Tests integ in windows
...
Decode hurlfmt output and error stream as text
supports both UTF-8 and UTF-16, both with and with BOM
Add optional os-specific expected error file
2021-02-16 09:13:17 +01:00
Fabrice Reix
a85170998f
Migrate integration scripts to python
...
so that they can be executed then in windows
2021-01-14 20:40:37 +01:00