Commit Graph

212 Commits

Author SHA1 Message Date
Fabrice Reix
7f28baeb1f
Fix test curl commands 2022-10-17 16:22:42 +02:00
jcamiel
104360a05d
Update integration tests. 2022-10-16 10:42:42 +02:00
Fabrice Reix
b912a6f06c
Add url query 2022-10-16 09:59:08 +02:00
jcamiel
d621fdab6b
Add integration test. 2022-10-10 15:51:34 +02:00
Fabrice Reix
1ae68efd82
Fix relative redirect 2022-10-10 15:13:03 +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
lepapareil
e590b6eeda
Clean ci integration bindings 2022-09-19 16:05:52 +02:00
jcamiel
5d4d41a559
Be more restrictive on first char for url parsing. 2022-09-12 16:42:40 +02:00
jcamiel
c1684f60b3
Add support for strings comparison. 2022-09-09 16:54:28 +02:00
jcamiel
b9e4b71208
Update IntelliJ contrib README. 2022-09-08 22:34:35 +02:00
jcamiel
b0f50c3b30
Add comment for HURL_xxx variable. 2022-09-07 20:58:02 +02:00
Fabrice Reix
cc820c6190
Accept expression in comparison predicate 2022-09-07 08:39:28 +02:00
Fabrice Reix
802d78359f
Update test integ 2022-09-06 13:53:15 +02:00
jcamiel
84e7cbee23
Delete os customisation for .err in favor of .err.pattern 2022-08-26 16:13:02 +02:00
jcamiel
75089c0620
Add support for multiple Hurl file in the same test. 2022-08-26 13:17:52 +02:00
Fabrice Reix
97bbf905cb
Move/Update requirements.txt 2022-08-25 13:55:44 +02:00
jcamiel
651f3bd694
Improve text summary. 2022-08-23 17:54:19 +02:00
jcamiel
96ef0c7228
Add --compressed entry option. 2022-08-18 20:28:08 +02:00
jcamiel
cd64b3310a
Log number bytes received and duration. 2022-08-18 18:39:23 +02:00
jcamiel
2a002f81a6
Add max-redirs entry option. 2022-08-16 12:09:33 +02:00
jcamiel
a2d3f87640
Add follow location entry option. 2022-08-16 10:20:25 +02:00
jcamiel
b08de3a19b
Add very-verbose entry option. 2022-08-15 18:01:35 +02:00
jcamiel
633500ebbd
Add verbose entry option. 2022-08-14 18:37:10 +02:00
jcamiel
02a1e49ddb
Add --to-entry integration test. 2022-08-14 14:02:53 +02:00
jcamiel
aae808b0b0
Add support for cacert entry option. 2022-08-12 17:42:24 +02:00
jcamiel
18d5696c67
Add integration test. 2022-08-12 16:18:55 +02:00
jcamiel
4845621ac9
Add test for string variable render in double quiotes. 2022-08-10 20:15:48 +02:00
jcamiel
7f561566dc
Normalize acronym case in errors. 2022-08-08 18:42:57 +02:00
jcamiel
bafb02a996
Add integration test for --test. 2022-08-07 09:51:24 +02:00
jcamiel
d35653e500
Use default exit code 0 for tests_ok integration tests. 2022-08-05 20:57:19 +02:00
jcamiel
3fc7b7744b
Make verbose and very-verbose logs more colored. 2022-08-05 17:27:38 +02:00
Fabrice Reix
e646f75269
Convert bash script to Python 2022-08-05 12:02:18 +02:00
Fabrice Reix
524084d314
Add comment - Test fails only when output is decompressed 2022-08-05 12:02:07 +02:00
Fabrice Reix
67ee97d0ef
Make sure that tests ok are ok 2022-08-05 11:06:42 +02:00
Fabrice Reix
0a06be993b
Install python modules with requirements.txt 2022-08-05 11:06:42 +02:00
jcamiel
74efc91da3
Create bas logger for basic error and logger for a run file. 2022-08-03 17:58:02 +02:00
jcamiel
59a3e24c40
Rationalize log functions usages. 2022-08-01 15:19:09 +02:00
Fabrice Reix
34075bc8a9
Refacto workflow scripts 2022-07-31 09:59:10 +02:00
jcamiel
f174f12cd5 Escape \ when transforming pattern to regex. 2022-07-29 14:10:16 +02:00
jcamiel
a3a975c6e0 Fix curl output for very-verbose. 2022-07-29 14:10:16 +02:00
jcamiel
6d6a0d6842 Update very_verbose integration test. 2022-07-29 14:10:16 +02:00
jcamiel
568b83266e
Fixes file access authorization. 2022-07-28 11:24:53 +02:00
jcamiel
2c9f0c649b
Fix exit code when use as module. 2022-07-21 10:43:04 +02:00
jcamiel
dbc51de167
Fix broken stdin. 2022-07-20 13:24:32 +02:00
Fabrice Reix
126e10537f
Add test for charset 2022-07-05 13:55:08 +02:00
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