Skip to content
Snippets Groups Projects
Commit 64149665 authored by Sebastian's avatar Sebastian Committed by Mikolai Gütschow
Browse files

Add unit test and style check instructions to hacking guide

parent 7e1f7a76
No related branches found
No related tags found
1 merge request!72Add unit test and style check instructions to hacking guide
Pipeline #8816 passed
# Hacking guide # Hacking guide
## Running style checks and unit tests
When working on the code base, consider running the style checks and unit
tests locally, because the CI will complain anyway:
./gradlew :check
The above command does both. To run style checks only:
./gradlew ktlintCheck
If that fails, try formatting:
./gradlew ktlintFormat
Running unit tests only:
./gradlew :test --tests "*"
That will run tests from the desktop project only. On the other hand, this
will also run tests on briar core:
./gradlew test
## Testing different locales ## Testing different locales
To test the app with a different locale, add this e.g. in `Main.kt`: To test the app with a different locale, add this e.g. in `Main.kt`:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment