Disclaimer: this project is in experimental stage.
go run cmd --all PACKAGE_NAME 2>debug.log 1>result.json
All tests:
go test -tags all_tests ./...
All unit tests:
go test -tags all_unit_tests ./...
Unit tests per feature:
go test -tags unit_tests,packages ./...
go test -tags unit_tests,database ./...
go test -tags unit_tests,repository ./...
All integration tests:
go test -tags all_integration_tests ./...
Integration tests per feature:
go test -tags integration_tests,packages ./...
go test -tags integration_tests,database ./...
go test -tags integration_tests,repository ./...