hurl/bin/test/test_integ.sh
2023-06-01 17:27:01 +02:00

21 lines
459 B
Bash
Executable File

#!/bin/bash
set -Eeuo pipefail
set -x
echo "----- integration tests -----"
# hurl infos
command -v hurl || (echo "ERROR - hurl not found" ; exit 1)
command -v hurlfmt || (echo "ERROR - hurlfmt not found" ; exit 1)
hurl --version
hurlfmt --version
# integration tests
cd integration
./hurlfmt_check.sh tests_ok/*.hurl
./integration.py
./test_curl_commands.sh
./test_html_output.py tests_ok/*.html tests_failed/*.html
#./report.py TODO: review test report