sangmingming / robotium

Automatically exported from code.google.com/p/robotium
0 stars 0 forks source link

I need to run the testcase robotium from a java project #78

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
robotium 2.1 , windows

Please provide any additional information below.
My problem is to run my test case from a java project that is external to 
Android.
My problem is to run my test case from a java project that is external to 
Android.
If I can send running my test class robotium from a java project outside, I can 
restart the test and therefore I can restart my application.
My goal is always to be able to restart the application.

Original issue reported on code.google.com by sergio.p...@gmail.com on 28 Feb 2011 at 8:50

GoogleCodeExporter commented 9 years ago
It is currently not possible to run your Robotium test cases outside of the 
dalvik vm. 

If you use a tearDown() with solo.finalize() your activities will be finished 
after each test case is finished and then the next test case in your 
ActivityInstrumentationTestCase2 will re-start your application. It will not 
resume it as finalize() has finished it. 

Original comment by renasr...@gmail.com on 28 Feb 2011 at 9:18