Kitty2014 / robotium

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

Support for "Don't keep activities" developer option. #642

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Example repro
1. Turn "Don't keep activities" option on.
2. Launch test case that navigates through at least 3 activities.
3. Watch the fall.

Expected behavior
Test case passes.

Actual behavior.
Test case fails.

Since robotium relies on keeping weak references to opened activities, it may 
not be trivial (or even possible) to support this. I've seen this issue 
mentioned in several other places like
* https://code.google.com/p/robotium/issues/detail?id=586
* https://code.google.com/p/robotium/issues/detail?id=416
but without any respond.
Having this could be a really straightforward way to test activities recreation.
Any additional thoughts on this?

Anyway, IMO it's more like Enhancement than Defect.

Original issue reported on code.google.com by michal.d...@gmail.com on 2 Dec 2014 at 1:07

GoogleCodeExporter commented 9 years ago
Thanks for reporting this. This is an interesting idea. We'll explore if its 
technically possible to add a feature like this. 

Original comment by renasr...@gmail.com on 3 Dec 2014 at 2:32

GoogleCodeExporter commented 9 years ago
This has been included in Robotium 5.3.0

Original comment by renasr...@gmail.com on 17 Feb 2015 at 2:46