mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-25 03:52:09 +03:00
21 lines
459 B
Bash
Executable File
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
|
|
|