Skip to content

Add support for robolectric tests #46134

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
6 tasks
samartnik opened this issue May 16, 2025 · 0 comments
Open
6 tasks

Add support for robolectric tests #46134

samartnik opened this issue May 16, 2025 · 0 comments
Labels
dev-concern OS/Android Fixes related to Android browser functionality

Comments

@samartnik
Copy link
Contributor

samartnik commented May 16, 2025

Description

Robolectric tests (https://chromium.googlesource.com/chromium/src/+/HEAD/docs/testing/android_test_instructions.md#robolectric-tests) are more lightweight and can be run for tablet related code, so we should integrate them to Brave codebase. Issue related to discussion in brave/brave-core#29087
Good point to start is to convert BraveHomepageSettingsTest to robolectric, like they have in the upstream.

Steps to reproduce

  1. n/a

Actual result

n/a

Expected result

n/a

Reproduces how often

Easily reproduced

Brave version

n/a

Device

  • Brand/model: n/a
  • Android version: n/a

Channel information

  • release (stable)
  • beta
  • nightly

Reproducibility

  • with Brave Shields disabled
  • with Brave Rewards disabled
  • in the latest version of Chrome

Miscellaneous information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev-concern OS/Android Fixes related to Android browser functionality
Projects
None yet
Development

No branches or pull requests

1 participant