File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2525 - name : Building docker containers using docker-compose
2626 run : GO_MOD=go.mod docker-compose up -d --build
2727 - name : Golang Tests
28- run : go test -v ./...
28+ run : go test ./...
2929 working-directory : ./backend
3030 frontend_testing :
3131 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ Once you've written your test it can be run with:
3131``` sh
3232# To run specifically this test
3333go test myTest_test.go
34- # To run all tests
34+ # To run all tests in the current directory and subdirectories
3535go test ./...
3636```
3737
Original file line number Diff line number Diff line change @@ -12,5 +12,5 @@ func init() {
1212
1313// package to quickly grab information regarding the execution environment
1414func IsTestingEnvironment () bool {
15- return flag .Lookup ("test.v" ). Value .(flag. Getter ). Get ().( bool )
15+ return flag .Lookup ("test.v" ) != nil
1616}
You can’t perform that action at this time.
0 commit comments