chore: add info about tests to readme

This commit is contained in:
td 2024-07-31 14:13:30 +05:30
parent 28758be915
commit 1cb3dd1b59
No known key found for this signature in database
GPG Key ID: 62A30523D4D6CE28
1 changed files with 11 additions and 1 deletions

View File

@ -20,4 +20,14 @@ flutter pub add flutter_openssl_crypto
See the API documentation for details: See the API documentation for details:
[API documentation](https://pub.dev/documentation/matrix/latest/) [API documentation](https://pub.dev/documentation/matrix/latest/)
### Tests
```shell
thread_count=$(getconf _NPROCESSORS_ONLN) // or your favourite number :3
dart test --concurrency=$thread_count test
```
- Adding the `-x olm` flag will skip tests which require olm
- Using `-t olm` will run only olm specific tests, but these will probably break as they need prior setup (which is not marked as olm and hence won't be run)