hurl/integration/integration.sh

19 lines
386 B
Bash
Raw Normal View History

2020-08-27 10:07:46 +03:00
#!/bin/bash
set -e
cd "$(dirname "$0")"
# Static Analysis
./hurl_echo tests/*.hurl tests_error_lint/*.hurl
./lint.sh tests_error_lint/*.hurl
./generate_html
# Dynamic
./run.sh tests/*.hurl tests_error_parser/*.hurl
#./hurl_output.sh output/*.command
set +e
rm -rf report/*
hurl --json report/tests.json --html report/html --output /dev/null tests/*.hurl
echo "test integration ok!"