-
1. Re: Arquillian Android Container vs. Roboletric
aslak Sep 23, 2012 5:47 AM (in response to alrubinger)We don't really have a Android Container in the normal Container sense. We can connect to a device or start a emulator and deploy to it, but no in container bits atm. There is/was a RHSoC project attempting to integrate Roboletric with Arquillian. Not sure about the current status.
-
2. Re: Arquillian Android Container vs. Roboletric
kpiwko Sep 25, 2012 9:45 AM (in response to alrubinger)Not correct. There is a RHSoC project for integrating Robotium into Arquillian, not Roboletric. It's still in early stage now.
However, in order to do that, we might be using RoboElectric eventually.
This is how I imagine test case:
@RunWith(Arquillian.class)
@Deployment AndroidArchive() {
//ShrinkWrap support for APK, stay tuned I might have something in the magic pocket
}
@Robotium
Solo solo;
@Test
@AndoidTest
public void test() {
// this is either compiled into InstrumentationTestCase2 transparently to user, similar as we do for GWT
// or we could use Roboletric and then robotium support is questionable
solo.XYZ()
}
Current Android Extension does:
* Start emulator/real device
* Allows you to inject AndroidDevice controller into test
* Has support for Drone
So it can be used in conjuction with previous.
-
3. Re: Arquillian Android Container vs. Roboletric
aslak Sep 25, 2012 11:01 AM (in response to kpiwko)aa, yes.. sorry, mixed the names