android / android/car-samples

HelloWorld can't run the testing

Open
#15 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
464
Forks
191
PR merge metrics
No merged PRs in 30d

Description

In the Helloworld sample testing , gralde did not include the

`testImplementation"androidx.car.app:app-testing:1.0.0-alpha01"`

https://developer.android.com/reference/kotlin/androidx/car/app/testing/package-summary

or declare any testing define in the hello world build.gradle

also missing robolectric / junit and others

the car testing can't run.

Contributor guide

Open the contributing guide

Research direction

Open the HelloWorld sample's build.gradle and compare its test setup with the app-testing dependency and package documentation linked in the issue. Identify the missing testing declarations, then run the sample's tests to verify that car testing works and the required test dependencies resolve.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
mobile-dev, testing
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.