From 1cb3dd1b5984bf08bca1020a58ac671e98513150 Mon Sep 17 00:00:00 2001 From: td Date: Wed, 31 Jul 2024 14:13:30 +0530 Subject: [PATCH] chore: add info about tests to readme --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f74ed8e2..14c01c9e 100644 --- a/README.md +++ b/README.md @@ -20,4 +20,14 @@ flutter pub add flutter_openssl_crypto See the API documentation for details: -[API documentation](https://pub.dev/documentation/matrix/latest/) \ No newline at end of file +[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)