bitrise-steplib / bitrise-step-android-unit-test Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Details are in this ticket:
Recent build are not fetching variants. Also we didn't change anything on configuration. Please help to us.
| (5) Run Unit Tests & Jacoco |
+------------------------------------------------------------------------------+
| id: android-unit-test |
| version: 1.0.6 |
| collection: https://github.com/bitrise-io/bitrise-steplib.git |
| toolkit: go |
| time: 2022-06-27T02:33:34Z |
+------------------------------------------------------------------------------+
| |
Configs:
- ProjectLocation: .
- HTMLResultDirPattern: *build/reports/tests
- XMLResultDirPattern: *build/test-results
- Variant: StagingDebug
- Module:
- Arguments: jacocoTestReport
- CacheLevel: only_deps
- IsDebug: false
- DeployDir: /bitrise/deploy
- TestResultDir: /tmp/test_results374987698/test_result927390709
Variants:
Run: failed to fetch variants, error: Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Hi there,
I am having a bit of a problem. I get the following error during the android build
Variants:
Failed to fetch variants, error: Incremental java compilation is an incubating feature.
FAILURE: Build failed with an exception.
java.lang.NullPointerException (no error message)
I tried the stacktrace option and it does not give me any extra information.
Please help.
Hello. I have a problem:
+------------------------------------------------------------------------------+
| (5) [email protected] |
+------------------------------------------------------------------------------+
| id: android-unit-test |
| version: 0.9.0 |
| collection: https://github.com/bitrise-io/bitrise-steplib.git |
| toolkit: go |
| time: 2018-04-20T17:36:56Z |
+------------------------------------------------------------------------------+
| |
Configs:
- ProjectLocation: Project
- ReportPathPattern: *build/reports
- ResultPathPattern: *build/test-results
- Variant: devDebug
- Module: app
- Deploy dir: /bitrise/deploy
Variants:
Failed to fetch variants, error: FAILURE: Build failed with an exception.
* What went wrong:
Project 'app' not found in root project 'src'.
Please help.
We have a nested module (:a
and :a:b
) which this step fails to recognize so it only runs the tests in :a
.
Due to an issue with a dependency: bitrise-io/go-android#25 (resolved by bitrise-io/go-android#26 )
Fixed by updating the dependency - PR: #9
How to fix it?
[Robolectric] WARN: Android SDK 29 requires Java 9 (have Java 8). Tests won't be run on SDK 29 unless explicitly requested.
Currently we can either not pass a variantFilter, in which case all variants are tested, or pass a filter to test a single variant.
In our case we have multiple product flavors and each has a debug and release build. I'd like to be able to test all the debug variants for my product, right now I use the test step multiple times.
I'd would be nice if instead of passing a single filter, I could pass a list of variants or a regex.
After updating to 0.10.0 the step fails at the end with:
Export test results for test addon:
panic: runtime error: index out of range
goroutine 1 [running]:
main.getUniqueDir(0xc00030dc20, 0x56, 0xc00001e1a8, 0x2f, 0xc000020600, 0xd)
/tmp/bitrise-go-toolkit393823558/src/github.com/bitrise-steplib/bitrise-step-android-unit-test/testaddon.go:30 +0x628
main.main()
/tmp/bitrise-go-toolkit393823558/src/github.com/bitrise-steplib/bitrise-step-android-unit-test/main.go:215 +0x142a
Works fine on 0.9.6
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.