From e598321b52a5c1fa9f7d65fbf7be2e227ef874a5 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Sun, 6 Jun 2021 23:06:24 +0100 Subject: [PATCH] html --- .gitignore | 6 +- .gitlab-ci.yml | 2 + assets/xunit_to_html.xsl | 661 +++++++++++++++++++++++++++++++ test/yavscTests/appsettings.json | 2 +- 4 files changed, 668 insertions(+), 3 deletions(-) create mode 100644 assets/xunit_to_html.xsl diff --git a/.gitignore b/.gitignore index c0c5a7c6..e47dd8ec 100644 --- a/.gitignore +++ b/.gitignore @@ -34,6 +34,8 @@ omnisharp.json connectionsettings.Development.json appsettings.Development.json /src/Yavsc/web.log -yavscd +/yavscd builds/ -test-results.xml +/test/yavscTests/test-results.xml +/test/yavscTests/test-results.html +/binaries/Debug/yavscd diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d098794f..3258246d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,6 +27,7 @@ debug: artifacts: paths: - test/yavscTests/test-results.xml + - test/yavscTests/test-results.html when: always script: - cd test/yavscTests @@ -34,6 +35,7 @@ debug: - cp $yavsc_client_secret_json yavsc-client-secret.json - dnu build - ASPNET_ENV=Testing dnx test -maxthreads 1 -xml test-results.xml + - xsltproc ../../assets/xunit_to_html.xsl test-results.xml > test-results.html release: stage: deploy diff --git a/assets/xunit_to_html.xsl b/assets/xunit_to_html.xsl new file mode 100644 index 00000000..d0ee8224 --- /dev/null +++ b/assets/xunit_to_html.xsl @@ -0,0 +1,661 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+
+ + + Test + + Result + +
+
+ + + + +
+ + + + +
+
+
+
+
+
+
+
+
+ + + + +
+
+ Tests +
+
+
+
+ + + + +
+
+ Passed +
+
+
+
+ + + + +
+
+ Failed +
+
+
+
+ + + + +
+
+ Errored +
+
+
+
+ + + + + + min + +
+
+ Runtime +
+
+
+
+
+

+
+ + + + + + + + + + + + + +
+ + + + + + + +
+ + + + + + + sec +
+
+ + Test Suite + +
+ + + +
+ + + + + + + failed +
+
+
+ + +
+ + + + + + + errored +
+
+
+ + +
+ + + + + + + passed +
+
+
+ + + +
+ + + + + + + skipped +
+
+
+
+ + + + +
+ + + + +
+
+
+
+
+ + + + + + + + + + + + + +
+ + + + + + + +
+ + + + + + + sec +
+
+ + Test Class + +
+ + + +
+ + + + + + + skipped +
+
+
+ + + +
+ + + + + + +
+
+ +
+ + + + + + +
+
+
+ + +
+ + + + + + +
+
+
+
+ + + + +
+ + + + +
+
+
+
+
+ + + + + + + + cursor:default; + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + ~ 0 + + sec + + + + + + + sec + + +
+ + +
+ + + + +
+
+ +
+ + + + +
+
+
+
+ + + + +
+ + + + + + + + + + + + + + + + +
+ + +

+ + + ... +

+
+ +

+ + +

+
+
+ + +

+ + ... +

+
+ +

+ + +

+
+
+
+ + + +
+ + + + +
+								            								
+								            							
+
+
+
+ + +
+ + + + + + + + ui tab active + + + ui tab + + + +
+									            							
+									            						
+
+
+
+ + +
+ + + + + + + + ui tab active + + + ui tab + + + +
+								            								
+								            							
+
+
+
+ + +
+ + + + + + + + ui tab active + + + ui tab + + + +
+							            										
+							            									
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+ + + +
+
diff --git a/test/yavscTests/appsettings.json b/test/yavscTests/appsettings.json index cd875c62..eae0aa03 100644 --- a/test/yavscTests/appsettings.json +++ b/test/yavscTests/appsettings.json @@ -48,7 +48,7 @@ "Keys": { "Dir": "DataProtection-Keys" }, - "RSAParamFile": "RSAParamFile", + "RSAParamFile": "RSA-Params.json", "ExpiresInHours": 168 }, "ApiKey": "lame-key",