diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 98e2e8ec4..727771dd0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -89,7 +89,7 @@ jobs: ./test_curl_commands.sh tests/*.curl ./test_html_output.py tests/*.html xmllint --noout tests/*.html - ./report-html.sh + ./report.sh - name: Archive production artifacts uses: actions/upload-artifact@v2 if: ${{ always() }} @@ -98,7 +98,8 @@ jobs: path: | integration/server.log integration/server-ssl.log - + integration/report/tests.json + integration/report/tests.xml test-osx: runs-on: macos-latest strategy: diff --git a/integration/report-html.sh b/integration/report.sh similarity index 90% rename from integration/report-html.sh rename to integration/report.sh index 553562885..33db18c20 100755 --- a/integration/report-html.sh +++ b/integration/report.sh @@ -4,7 +4,7 @@ set +e rm -rf report/* find tests -name "*.hurl" | sort | while read -r hurl_file; do - options=("--json report/tests.json" "--report-html report/html" "--output /dev/null") + options=("--json report/tests.json" "--report-html report/html" "--report-junit report/tests.xml" "--output /dev/null") if test -f "${hurl_file%.*}.options"; then options+=("$(cat "${hurl_file%.*}.options")") fi diff --git a/integration/report/html/index.html b/integration/report/html/index.html index ef94423c4..63cda7370 100644 --- a/integration/report/html/index.html +++ b/integration/report/html/index.html @@ -1,2 +1,2 @@ -
GET http://localhost:8000/non-utf8
+HTTP/1.0 200
+
+
+
\ No newline at end of file
diff --git a/integration/report/html/tests/post_file.hurl.html b/integration/report/html/tests/post_file.hurl.html
index b8cd070e4..9cc0c5f44 100644
--- a/integration/report/html/tests/post_file.hurl.html
+++ b/integration/report/html/tests/post_file.hurl.html
@@ -89,5 +89,10 @@ span.line:before {
file,data.bin;
HTTP/1.0 200
+
+POST http://localhost:8000/post-file
+file,post_file_with\ space;
+
+HTTP/1.0 200