hurl/bin/test/test_integ.sh

21 lines
479 B
Bash
Raw Normal View History

2022-12-14 11:28:25 +03:00
#!/bin/bash
set -Eeuo pipefail
2023-04-05 12:07:50 +03:00
set -x
2022-07-30 05:49:56 +03:00
echo "----- integration tests -----"
2022-10-04 16:31:38 +03:00
# hurl infos
2023-04-05 12:07:50 +03:00
command -v hurl || (echo "ERROR - hurl not found" ; exit 1)
command -v hurlfmt || (echo "ERROR - hurlfmt not found" ; exit 1)
2022-10-04 16:31:38 +03:00
hurl --version
hurlfmt --version
# integration tests
2023-04-05 12:07:50 +03:00
cd integration
2023-06-18 15:35:03 +03:00
./hurlfmt_check.sh tests_ok/*.hurl tests_failed/*.hurl
2022-07-30 05:49:56 +03:00
./integration.py
2022-10-17 17:22:42 +03:00
./test_curl_commands.sh
2022-07-30 05:49:56 +03:00
./test_html_output.py tests_ok/*.html tests_failed/*.html
2023-03-30 22:56:43 +03:00
#./report.py TODO: review test report