From e429cd83336ea3982914d3e401828e3cd0d755c8 Mon Sep 17 00:00:00 2001 From: Marcus Efraimsson Date: Fri, 9 Feb 2018 13:34:10 +0100 Subject: [PATCH] update README.md regarding running tests [skip ci] --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7a2f45a5009..81fb1f8d42b 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ In your custom.ini uncomment (remove the leading `;`) sign. And set `app_mode = #### Frontend Execute all frontend tests ```bash -$ npm run test +npm run test ``` Writing & watching frontend tests (we have two test runners) @@ -98,13 +98,13 @@ Writing & watching frontend tests (we have two test runners) #### Backend ```bash # Run Golang tests using sqlite3 as database (default) -$ go test ./pkg/... +go test ./pkg/... -# Run Golang tests using mysql as database - convenient to use /docker/block/mysql_tests -$ GRAFANA_TEST_DB=mysql go test ./pkg/... +# Run Golang tests using mysql as database - convenient to use /docker/blocks/mysql_tests +GRAFANA_TEST_DB=mysql go test ./pkg/... # Run Golang tests using postgres as database - convenient to use /docker/blocks/postgres_tests -$ GRAFANA_TEST_DB=postgres go test ./pkg/... +GRAFANA_TEST_DB=postgres go test ./pkg/... ``` ## Contribute