-
Notifications
You must be signed in to change notification settings - Fork 45
Unable to run tests #102
Comments
This project is not compatible with Test Orchestrator either: #90 |
Mentioning Test Orchestrator was just to describe my reasoning, sorry for confusion. I actually gave up on using it for now and wanted just to switch from Spoon to Composer. This example project is setup to just use Espresso with AndroidJUnitRunner for AndroidJUnit4. |
Questions:
|
Thanks for addressing my issue so fast. I've created example project to try out in simplest setup for beginning. It's available in: composer-usage-example.
About following log:
shouldn't Composer call instrumentation in test package ( PS Sorry for closing and reopening issue, I've missclicked "Close issue" button... :| |
Hi, |
Oh... Ok, so that's classical issue between keyboard and monitor. :) Initially i though that Thanks a lot for resolving my issue so fast. |
We could probably state that explicitly in Readme... |
Definitely would be great to start parsing apk for that :) Maybe with help of |
or use the gradle plugin which can pull it directly from the android plugin declarations. |
Hey, that's cheating! :D |
I'm not familiar with Composer code and don't know what tools are available for you, but if you can use Android Asset Packaging Tool (aapt) available in Android SDK (
That is as I said assuming you can use those tools in Composer. |
@Kregap that seems to be really easy to implement, thanks for the hint! |
@Kregap, @artem-zinnatullin I ran the the composer like this: 12:42:56 [Mon Jul 09 12:42:56 UTC 2018]: Args(appApkPath=..., testApkPath=..., testPackage=com.android.emulator.smoketests, testRunner=android.support.test.runner.AndroidJUnitRunner, shard=false, outputDirectory=test-outputs, instrumentationArguments=[class, ${currentSuiteTest}], verboseOutput=true, keepOutputOnExit=true, devices=[], devicePattern=, installTimeoutSeconds=300) Note that ${currentSuiteTest} tests class is not from "com.android.emulator.smoketests" |
I was able to pass the right test-package and test-runner after listing the test runners: adb shell pm list instrumentation |
Hi,
I'm would really love to try out your tool, as I'm having some significant stability issues with spoon usage and due to dependencies am unable to use Test Orchestrator. Unfortunately I'm unable to start any test and have no idea what is wrong.
I tried it on project where I'm using spoon ATM and on dummy project to not use our custom runner and have most basic setup possible.
This is how I'm running it:
I've tried with providing runner with package specified too:
In both cases there seems to be problem with
Unable to find instrumentation info (...)
, so I assume I'm providing runner in wrong way.The text was updated successfully, but these errors were encountered: