J

JUnit5 Robolectric Extension

A unit testing framework for Android.

Pricing: Free
Visit website

What is JUnit5 Robolectric Extension?

This is an experimental project that aims to bridge the gap between JUnit 5 and Robolectric, providing a way to run your Android unit tests using the modern JUnit 5 framework while leveraging Robolectric's in-memory environment.

This repository aims to bridge the gap between JUnit 5 and Robolectric, enabling developers to leverage the benefits of both frameworks for unit testing Android applications.

While Robolectric currently lacks a dedicated JUnit 5 extension, this project proposes a community-driven solution to achieve seamless integration.

Key features:

  • JUnit 5 Compatibility: Run your tests with the latest JUnit 5 features and syntax.

Current Limitations

  • Parallel Execution: Parallel test execution only experimentally supported with classes.
  • Configuration:
    • Robolectric @Config's sdk parameter annotation can only be set on outermost test class.
    • @GraphicsMode annotations can only be set on outermost test class.
  • Experimental Status: This extension is still under development, and its API might change in future versions.

More tools in Automated Checking

Robolectric logo

Robolectric

Automated Checking

A unit testing framework for Android.

Free
Quicktype logo

Quicktype

Automated Checking

Convert JSON into gorgeous, typesafe code in any language.

Free
w

wacat

Automated Checking

Tests your web application against cat chaos!

Free