Skip to content

Commit bf50fb8

Browse files
authored
Merge pull request #5197 from camilamacedo86/tests-grafana-refac
🌱 (grafana): Relocate scaffold tests to grafana directory and increase test coverage
2 parents b1f21b5 + 72cb53c commit bf50fb8

File tree

8 files changed

+754
-106
lines changed

8 files changed

+754
-106
lines changed

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pkg/
3232
external/ External plugin support
3333
docs/book/ mdBook sources + tutorial samples
3434
test/
35-
e2e/ End-to-end tests (v4, helm, grafana, deployimage, alpha*)
35+
e2e/ End-to-end tests (v4, helm, deployimage, alpha*)
3636
testdata/ Testdata generation scripts
3737
testdata/ Generated sample projects (DO NOT EDIT)
3838
hack/docs/ Documentation generation scripts

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ test-unit: ## Run the unit tests
155155
.PHONY: test-coverage
156156
test-coverage: ## Run unit tests creating the output to report coverage
157157
- rm -rf *.out # Remove all coverage files if exists
158-
go test -race -failfast -tags=integration -coverprofile=coverage-all.out -coverpkg="./pkg/cli/...,./pkg/config/...,./pkg/internal/...,./pkg/machinery/...,./pkg/model/...,./pkg/plugin/...,./pkg/plugins/golang" $(TEST_PKGS)
158+
go test -race -failfast -tags=integration -coverprofile=coverage-all.out -coverpkg="./pkg/cli/...,./pkg/config/...,./pkg/internal/...,./pkg/machinery/...,./pkg/model/...,./pkg/plugin/...,./pkg/plugins/..." $(TEST_PKGS)
159159

160160
.PHONY: test-features
161161
test-features: ## Run the integration tests

0 commit comments

Comments
 (0)