Skip to content

Commit

Permalink
Encourage collaborators to add tests written in Java (#409)
Browse files Browse the repository at this point in the history
Co-authored-by: Bernat Borrás Paronella <[email protected]>
  • Loading branch information
rocboronat and alorma authored May 28, 2021
1 parent 5716b9b commit 910e95f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -476,5 +476,8 @@ We welcome contributions! If you found a bug or have a feature request, feel fre
## Formatting
We use our company's IntelliJ code style for the project, which is very similar to the official Kotlin Android code style. When submitting code please make sure you use the proper format. You can install the code style into Android Studio by running the script in `./config/androidstudio/install-codestyle.sh`. Then restart Android Studio and pick the "BaristaAndroid" schema in preferences.

## Prefer Java-written test classes
As most parts of Barista are Java-compatible, please do write Java tests when possible. Writing them in Kotlin might lead to using Kotlin-only shortcuts, breaking the Java compatibility Barista aims for.

# License
**[Apache License, Version 2.0 (the "License")](LICENSE.md)**

0 comments on commit 910e95f

Please sign in to comment.