./gradlew test

Category: React Native & Mobile

./gradlew test

Run the Android unit tests

Executes the unit tests in the test/ source set (JVM tests that do not need a device). Add --tests "com.example.FooTest" to run a single class.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.