Skip to content

Commit 7d3591b

Browse files
committed
simplified example how to run single test
1 parent 958b812 commit 7d3591b

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,7 @@ podman-compose -f docker-compose.test.yml up --build --abort-on-container-exit
6868
After running all test suite, testing platform components are still running (kafka, platform, db). This is especially useful when fixing some test or adding a new one. You need to have golang installed.
6969
~~~bash
7070
podman-compose -f docker-compose.test.yml up --build --no-start # build images
71-
podman-compose -f docker-compose.test.yml start db platform kafka # start containers
72-
. scripts/export_local_env.sh # setup needed env variables for tests
73-
go test -count=1 -v ./evaluator -run TestEvaluate # run "TestEvaluate" test from "evaluator" component
71+
podman-compose -f docker-compose.test.yml run test ./scripts/go_test.sh './evaluator -run TestEvaluate' # run "TestEvaluate" test from "evaluator" component
7472
~~~
7573

7674
### Run tests in VS Code

0 commit comments

Comments
 (0)