Stack Explorer

Robolectric

Mobile framework Open Source

Framework for running Android tests without emulator

Official site

Supported languages:

kotlin java

Pros and Cons

Ventajas

  • + Fast tests without emulator
  • + Runs on local JVM
  • + Simulates Android framework
  • + JUnit integration
  • + CI/CD friendly

Desventajas

  • - Not 100% faithful to device
  • - Some APIs not supported
  • - May have differences vs real

Casos de Uso

  • Fast Android unit tests
  • CI/CD pipelines
  • TDD in Android
  • Logic tests with Android APIs

Related Technologies

Related Tools

Alternatives