Skip to content

Commit cdff7c5

Browse files
authored
Merge pull request #60 from Chisanan232/develop
🎉🎊🍾 [New Feature] Add new test type *system test* for organizing the test coverage report.
2 parents c49ece9 + 1d717eb commit cdff7c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/ci/combine_coverage_reports.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ test_type=$1
66

77
coveragedatafile=".coverage.$test_type"
88

9-
if [ "$test_type" == "unit-test" ] || [ "$test_type" == "integration-test" ];
9+
if [ "$test_type" == "unit-test" ] || [ "$test_type" == "integration-test" ] || [ "$test_type" == "system-test" ];
1010
then
1111
coverage combine --data-file="$coveragedatafile" .coverage."$test_type".*
1212
elif [ "$test_type" == "all-test" ];
1313
then
1414
coverage combine --data-file="$coveragedatafile" .coverage.*
1515
else
16-
echo "❌ It doesn't support $test_type currently. Please change to use options 'unit-test', 'integration-test' or 'all-test'." && exit 1
16+
echo "❌ It doesn't support $test_type currently. Please change to use options 'unit-test', 'integration-test', 'system-test' or 'all-test'." && exit 1
1717
fi
1818

1919
coverage report -m --data-file="$coveragedatafile"

0 commit comments

Comments
 (0)