aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2022-02-14 07:47:55 -0600
committerJP Dillingham <jpdillingham@gmail.com>2022-02-14 07:47:55 -0600
commitfe7251954047e33a5f9c6bb2ca4d0836ee7564a2 (patch)
tree870a78abe15a30e7a68f3c083fe0c84446d95861 /bin
parenta524294523f75ff003a50e1e526655c8d881502f (diff)
downloadslskd-fe7251954047e33a5f9c6bb2ca4d0836ee7564a2.tar.gz
add cover script
Diffstat (limited to 'bin')
-rw-r--r--bin/cover8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/cover b/bin/cover
new file mode 100644
index 00000000..93b364aa
--- /dev/null
+++ b/bin/cover
@@ -0,0 +1,8 @@
+#!/bin/bash
+set -e
+
+echo $'\n\t🧪 dotnet test -p:CollectCoverage=true -p:CoverletOutputFormat=lcov -p:CoverletOutput=TestResults/lcov.info\n'
+
+dotnet test -p:CollectCoverage=true -p:CoverletOutputFormat=lcov -p:CoverletOutput=TestResults/lcov.info
+
+echo $'\n\t🎉 coverage collection succeded!\n' \ No newline at end of file