w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Run vanilla JUnit tests on individual classes in an Android Eclipse JUnit project

Unless there's a typo in your question, one possible problem is the way you are trying to run them.

Select Run As -> Android JUnit test instead of just JUnit test. That's because these tests need to run on device, so the build is slightly more involved than for normal JUnit tests.

I'm guessing you've already read the docs, but it's an easy thing to miss.

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.