You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 14, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: {{cookiecutter.project_slug}}/README.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -146,6 +146,22 @@ If you need to install any additional package for the tests, add it to the file
146
146
147
147
If you use GitLab CI the tests will run automatically.
148
148
149
+
#### Test running stack
150
+
151
+
If your stack is already up and you just want to run the tests, you can use:
152
+
153
+
```bash
154
+
docker-compose exec backend-tests /tests-start.sh
155
+
```
156
+
157
+
That `/tests-start.sh` script inside the `backend-tests` container calls `pytest`. If you need to pass extra arguments to `pytest`, you can pass them to that command and they will be forwarded.
0 commit comments