16-Nov-13 (Created: 16-Nov-13) | More in 'Fragments and Dialogs'

Test Cases you should run for an asynctask

It is not trivial to create an asynctask and monitor its progress on an activity's progress dialog.

The techniques you need to implement well include fragment dialogs, retained fragments, non-cancellable dialogs, or retained objects, that also can clean themselves up as various asynchronous events take place in the system.

With out a proper set of test cases it is very easy to miss the expected behavior.

Here is a list of test cases that I can think of in my limited research on this item.