From 910e95f39b74d326c294cc0e92b510461f5a6cc9 Mon Sep 17 00:00:00 2001 From: Roc Boronat Date: Fri, 28 May 2021 10:10:47 +0200 Subject: [PATCH] Encourage collaborators to add tests written in Java (#409) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bernat BorrĂ¡s Paronella --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index a9db86a1..36bbe0af 100644 --- a/README.md +++ b/README.md @@ -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)**