https://github.com/dilpreet2028/android_local_test_issue
https://github.com/dilpreet2028/android_local_test_issue
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dilpreet2028/android_local_test_issue
- Owner: dilpreet2028
- Created: 2022-08-04T14:10:15.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-04T14:18:26.000Z (about 3 years ago)
- Last Synced: 2025-02-15T20:57:52.127Z (8 months ago)
- Language: Starlark
- Size: 864 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sample bazel project showing lack of coverage support for android_local_test
To run this locally update the `path` for `android_sdk_repository` in WORKSPACE to your android sdk path and then run
```
bazel coverage //src/test:main_activity_test
```This will throw an error saying: `android_local_test does not yet support coverage`
```
ERROR: /src/rules_jvm_external/examples/android_local_test/src/test/BUILD:1:19: in android_local_test rule //src/test:main_activity_test: android_local_test does not yet support coverage
ERROR: /src/rules_jvm_external/examples/android_local_test/src/test/BUILD:1:19: Analysis of target '//src/test:main_activity_test' failed
ERROR: Analysis of target '//src/test:main_activity_test' failed; build aborted:
FAILED: Build did NOT complete successfully```
This project was copied from https://github.com/bazelbuild/rules_jvm_external/tree/master/examples/android_local_test