Skip to content

Commit 1712c3d

Browse files
author
Joe Stubbs
committed
document running individual tests
1 parent d38d318 commit 1712c3d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/developer_docs.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,14 @@ To run the functional tests, execute the following:
137137
$ docker run --network=abaco_abaco -e base_url=http://nginx -e case=camel -v /:/host -v $(pwd)/local-dev.conf:/etc/service.conf -it --rm abaco/testsuite$TAG
138138
```
139139

140+
You can pass arguments to the testsuite container just like you would to py.test. For example, you can run
141+
just one test (in this case, the `test_create_actor_with_webhook` test) from within the `test_abaco_core.py`
142+
file with:
143+
144+
```shell
145+
$ docker run --network=abaco_copy_abaco -e base_url=http://nginx -e case=camel -v /:/host -v $(pwd)/local-dev.conf:/etc/service.conf -it --rm abaco/testsuite$TAG /tests/test_abaco_core.py::test_create_actor_with_webhook
146+
```
147+
140148
Run the unit tests with a command similar to the following, changing the test module as the end as necessary:
141149

142150
```shell

0 commit comments

Comments
 (0)