We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 614a88c commit 5b12cddCopy full SHA for 5b12cdd
README.md
@@ -96,6 +96,16 @@ Then the `/test` route will not be available from `/v3` onwards.
96
To run tests:
97
98
```sh
99
-python3 -m pip install -r requirements.test.txt
100
-pytest test/
+python3 -m pip install .[dev]
+MONGODB_URI="mongodb://localhost:27017" pytest ./test
101
+```
102
+
103
+This assumes that you have a mongodb service running at `mongodb://localhost:27017`.
104
105
+Alternatively you can run start up the development stack with docker compose and then
106
+run tests in the docker container:
107
108
+```sh
109
+docker compose -f docker-compose.dev.yml up -d
110
+docker compose exec marble_api pytest ./test
111
```
0 commit comments