GithubHelp home page GithubHelp logo

bitrise-step-android-unit-test's People

Contributors

banyikanna avatar bitrise-coresteps-bot avatar godrei avatar lpusok avatar lszucs avatar mithrandir21 avatar ofalvai avatar renovate[bot] avatar trapacska avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bitrise-step-android-unit-test's Issues

Failed to fetch variants

Issue description

Recent build are not fetching variants. Also we didn't change anything on configuration. Please help to us.

Bitrise info


| (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

Failed to fetch variants, error: Incremental java compilation is an incubating feature.

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.

  • What went wrong:
    A problem occurred configuring project ':app'.

java.lang.NullPointerException (no error message)

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

I tried the stacktrace option and it does not give me any extra information.

Please help.

Failed to fetch variants

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.

[Feature Request] Support for testing multiple variants on the same step

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.

Build failing with the latest version

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.