RobotiumTech / robotium

Android UI Testing
http://www.robotium.org
Apache License 2.0
2.86k stars 786 forks source link

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

Closed renas closed 9 years ago

renas commented 9 years ago

From michal.d...@gmail.com on December 02, 2014 05:07:49

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

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

Original issue: http://code.google.com/p/robotium/issues/detail?id=642

renas commented 9 years ago

From renasr...@gmail.com on December 02, 2014 18:32:45

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

Owner: renasr...@gmail.com
Labels: -Type-Defect Type-Enhancement

renas commented 9 years ago

From renasr...@gmail.com on February 17, 2015 06:46:54

This has been included in Robotium 5.3.0

Status: Verified