lemmy/docs/src/contributing/tests.md

21 lines
362 B
Markdown
Raw Normal View History

2020-06-27 13:28:45 +00:00
### Tests
#### Rust
2020-11-29 12:09:14 +00:00
After installing [local development dependencies](local_development.md), run the
following commands:
2020-06-27 13:28:45 +00:00
```bash
psql -U lemmy -c "DROP SCHEMA public CASCADE; CREATE SCHEMA public;"
./test.sh
2020-06-27 13:28:45 +00:00
```
### Federation
2020-11-29 12:09:14 +00:00
Install the [Docker development dependencies](docker_development.md), and execute:
2020-09-21 12:02:40 +00:00
```
cd docker/federation
./run-tests.bash
```