Skip to content

Custom Listener gets a null parameter on the testRunStarted() method #106

Open
@Macarse

Description

@Macarse

Repro code @ #105

I basically tried two things:

  1. I opened the project in Android Studio and setup the listener by adding:
    -e listener com.example.android.testing.androidjunitrunnersample.suite.MyListener
    If I breakpoint on super.testRunStarted(description); I get that description is null when it shouldn't.

  2. I have also tried using the cmd line by running ./gradlew connectedAndroidTest -Pandroid.testInstrumentationRunnerArguments.listener=com.example.android.testing.androidjunitrunnersample.suite.MyListener

testRunStarted() is still called with description == null.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions