We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1059f5 commit cf09283Copy full SHA for cf09283
tests/README.md
@@ -1,10 +1,21 @@
1
-### Running Tests
2
-Torrust requires Docker to run different database systems for testing. [install docker here](https://docs.docker.com/engine/).
+# Running Tests
+
3
+Torrust requires Docker to run different database systems for testing. [Install docker here](https://docs.docker.com/engine/).
4
5
Start the databases with `docker-compose` before running tests:
6
- $ docker-compose up
7
+```s
8
+docker-compose -f tests/docker-compose.yml up
9
+```
10
11
Run all tests using:
12
- $ cargo test
13
14
+cargo test
15
16
17
+Connect to the DB using MySQL client:
18
19
20
+mysql -h127.0.0.1 -uroot -ppassword torrust-index_test
21
0 commit comments