Coder Social home page Coder Social logo

Comments (4)

fpezzato avatar fpezzato commented on July 29, 2024

Hi @ericjee, thanks for your feedback!

Do we changed a way to get the test method?

Yes, the way the tests methods are loaded has been slightly changed.
Could you please provide an example of a test class and method not executed?

Thanks!

ps.
I guess a good point to start our investigation might be in the classes:

from fork.

ericjee avatar ericjee commented on July 29, 2024

@fpezzato thx for your help, Following is an example:)

@test public void test添加新客户(), this one is ignored
@test public void addNewCustomer(), this one is executed

i saw your comments, maybe i can create a UT case to check what will be return from from(testClasses).transformAndConcat(...).toList();

from fork.

fpezzato avatar fpezzato commented on July 29, 2024

@ericjee
I had a quick look.
Looks like on our side everything is fine, the bug seems to be in the class com.android.ddmlib.testrunner.RemoteAndroidTestRunner#executeShellCommand (it's google code).

In fact: via shell

adb shell am instrument -w -r  -e class demotest.com.MySingleClassTest#test添加新客户t  demotest.com/android.support.test.runner.AndroidJUnitRunner

works.

But via

 mRemoteDevice.executeShellCommand(runCaseCommandStr ....) //RemoteAndroidTestRunner, around line 259

the test is not executed.

from fork.

iordanis avatar iordanis commented on July 29, 2024

This is an issue with ddmlib, so nothing we can fix on our side.

from fork.

Related Issues (20)

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.