QuestionQ32

Test Automation Techniques

A Social Media application enhancement permits new Groups to be created. Any number of existing application members may be added to a Group. Trying to add a member who does not exist in the application to a Group results in an error, as does trying to add the same member twice. Members may be removed from an existing Group. An existing Group may be deleted only when it has no current members attached to it.

Which one of the following Keyword-driven input tables provides the BEST test coverage for this enhancement?

Explanation

Complete coverage requires tests for successful group creation and member addition, errors for adding a nonexistent member and re-adding an existing group member, an error when deleting a nonempty group, successful member removal, and successful deletion once the group is empty. Choice C includes all of these conditions in a valid state sequence.

Community Discussion

No comments yet. Be the first to start the discussion!