Commit Graph

7 Commits

Author SHA1 Message Date
Fabrice Reix
dfcbad29a3
Add options --in and --out in hurlfmt
--out replaces the previous --format option

Currently --in can only take 'hurl' format,
but it will include other formats such as curl or har in the future.
2023-04-18 08:34:44 +02:00
Fabrice Reix
bf79a512e0
Newline added at the end of the files
hurlfmt now also outputs a trailing newline.
2022-10-24 15:04:50 +02:00
jcamiel
7c6b03fc73 Fix implicit body asserts on compressed response body. 2022-05-11 17:36:48 +02:00
Fabrice Reix
5e9a94a430 Format python files with black formater 2022-02-05 18:15:41 +01: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
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