Merged in feature/tests (pull request #117)

Feature/tests

* improvetests

* generation

* simplifiedtesting

* simplifiedtesting

* longfile
This commit is contained in:
Michael McGuinness
2025-04-23 17:51:44 +00:00
parent 47fec079e5
commit bbe6f4188e
38 changed files with 4243128 additions and 616 deletions
+4 -3
View File
@@ -9,7 +9,8 @@ vars:
API: "./api/..."
PKG: "./pkg/..."
CMD: "./cmd/..."
PARALLEL: 1
UNIT_PARALLEL: 8
E2E_PARALLEL: 1
# yamllint disable-line rule:line-length
EXCLUDED_FILES: ".gen.go|internal/serviceconfig/observability/prometheus/generator/main.go"
@@ -33,7 +34,7 @@ tasks:
- task: mocks:generate
- mkdir -p {{.OUT_DIR}}
- |
go test -parallel {{.PARALLEL}} \
go test -parallel {{.UNIT_PARALLEL}} \
{{.INTERNAL}} {{.API}} {{.CLI_ARGS}}
unit:short:
cmds:
@@ -98,4 +99,4 @@ tasks:
deps:
- docker:build
cmds:
- go test -count=1 -parallel {{.PARALLEL}} ./test/...
- go test -count=1 -parallel {{.E2E_PARALLEL}} ./test/...