Hi all!
I have made a custom instrumentation test runner, see below. This works
fine on android-9, but fails on android-8. Is this a known issue? If so,
is there are workaround for android-8?
public class InstrumentationTestRunner extends
android.test.InstrumentationTestRunner {
Found a workaround: Set the name of the test to runTest. Is there a way to
detect the api-level of the device running the tests?
public class InstrumentationTestRunner extends
android.test.InstrumentationTestRunner {
public TestSuite getAllTests() {
suite = new TestSuite(Sweet);
Hi all!
When running ant run-tests and getting test failures, ant still says
BUILD SUCCESSFUL and return code 0. This makes is hard to automate
testing.
Is there a way to programmatically detect test failures?
--
You received this message because you are subscribed to the Google
Groups
Hi!
Did you ever solve this? I desperately need to list all classes in a
package.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group,
Thank you for your reply!
Very possibly there is another solution.
The problem to be solved is that I want to run some test scripts stored as
assets to test multiple activities.
The test scripts need access to the activity to be tested. This is normally
done by subclassing
Thanks! This was very helpful!
I have it running now.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
6 matches
Mail list logo