mirror of
https://github.com/grafana/grafana.git
synced 2026-09-05 04:40:13 -05:00
Chore: Update developer guide for running integration tests (#57758)
This commit is contained in:
@@ -149,13 +149,13 @@ go test -covermode=atomic -tags=integration ./pkg/...
|
|||||||
To run PostgreSQL and MySQL integration tests locally, you need to start the docker blocks for MySQL and/or PostgreSQL test data sources by running `make devenv sources=mysql_tests,postgres_tests`. When your test data sources are running, you can execute integration tests by running:
|
To run PostgreSQL and MySQL integration tests locally, you need to start the docker blocks for MySQL and/or PostgreSQL test data sources by running `make devenv sources=mysql_tests,postgres_tests`. When your test data sources are running, you can execute integration tests by running:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
GRAFANA_TEST_DB=mysql go test -covermode=atomic -tags=integration ./pkg/...
|
make test-go-integration-mysql
|
||||||
```
|
```
|
||||||
|
|
||||||
and/or
|
and/or
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
GRAFANA_TEST_DB=postgres go test -covermode=atomic -tags=integration ./pkg/...
|
make test-go-integration-postgres
|
||||||
```
|
```
|
||||||
|
|
||||||
### Run end-to-end tests
|
### Run end-to-end tests
|
||||||
|
|||||||
Reference in New Issue
Block a user