File tree Expand file tree Collapse file tree 3 files changed +2
-15
lines changed
Expand file tree Collapse file tree 3 files changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -72,20 +72,16 @@ tasks:
7272
7373 test :
7474 cmds :
75- - go run gotest.tools/gotestsum --format testname -- -v -coverprofile=coverage.txt ./...
75+ - go run gotest.tools/gotestsum --format testname -- -v -coverprofile=coverage.txt ./internal/... ./shared/... ./template/ ...
7676 desc : run unit tests
77- sources :
78- - " **/*.go"
7977 generates :
8078 - coverage.txt
8179
8280 test.e2e :
8381 desc : run end-to-end tests
84- sources :
85- - " **/*.go"
86- - " ./.mockery.yaml"
8782 cmds :
8883 - ./e2e/run_all.sh
84+ - go run gotest.tools/gotestsum --format testname -- -v -count=1 ./e2e/...
8985
9086 test.ci :
9187 deps : [lint]
Original file line number Diff line number Diff line change @@ -15,9 +15,3 @@ for test in $(ls -d $SCRIPT_DIR/test_*); do
1515 echo " =========="
1616 $file
1717done
18-
19- echo " ================="
20- echo " RUNNING GO TESTS"
21- echo " ================="
22-
23- TEST_TAG=e2e go test $SCRIPT_DIR /...
Original file line number Diff line number Diff line change @@ -11,9 +11,6 @@ import (
1111)
1212
1313func TestExercise (t * testing.T ) {
14- if os .Getenv ("TEST_TAG" ) != "e2e" {
15- t .Skip ("e2e tag not provided" )
16- }
1714 outfile := pathlib .NewPath ("./exercise.txt" )
1815 defer outfile .Remove ()
1916
You can’t perform that action at this time.
0 commit comments