Question 51

Which option correctly states the sequence of tasks to be undertaken when re-factoring test cases?
SELECT ONE OPTION
  • Question 52

    An enhancement to a Social Media application allows for the creation of new Groups. Any number of existing application members can be added to a Group. An attempt to add a non-existent member of the application to a Group will result in an error, as will an attempt to add the same member twice. Members can be removed from an existing Group. An existing Group can be deleted but only if there are no current members attached to it.
    Which one of the following Keyword-driven input tables provides the BEST test coverage of this enhancement?
    Table 1
    KeywordGroup IdMember Id
    Create.GroupGroup3
    Add_MemberGroup3@Member1
    Add.MemberGroup3(a)Member2
    Delete_GroupGroup3
    Remove.MemberGroup3@Memberl
    Remove_MemberGroup3@)Member2
    Delete.GroupGroup3
    Result
    Group created
    Member added to Group
    Member added to Group
    Error - Group not empty
    Member removed from group
    Member removed from group
    Group deleted
    Table 2
    KeywordGroup IdMember IdResult
    Create.GroupGrouplGroup created
    Add.MemberGrouplMember4Error - member does not exist
    Add.MemberGroupl(MemberlMember added to Group
    Delete.GroupGrouplError - Group not empty
    Remove_Member@Member 1Member removed from group
    Delete.GroupGrouplGroup deleted
    Table 3
    KeywordGroup IdMember IdResult
    Create.GroupGroup3Group created
    Add.MemberGroup3Member9Error - member does not exist
    Add.MemberGroup3(MemberlMember added to Group
    Add_MemberGroup 3(MemberlError - member already in group
    Delete.GroupGroup3Error - Group not empty
    Remove-MemberGroups(Member 1Member removed from group
    Delete.GroupGroupsGroup deleted
    Table 4
    KeywordGroup IdMember IdResult
    Create.GroupGrouplGroup created
    Add.MemberGroupl@Member3Member added to Group
    Add.MemberGroupl@Member3Error - member already in group
    Delete.GroupGrouplError - Group not empty
    Remove.MemberGroupl@Member1Member removed from group
    Delete.GroupGrouplGroup deleted
    SELECT ONE OPTION
  • Question 53

    You have been working as a tester in an Agile team You have found that the user stories are being defined by the team but it is still unclear what will be a successful outcome Even after story elaboration you are still unclear as to what a story should do As a result, you're not really sure what to test or to know when you'll be done with testing This problem is becoming worse as completed stories are showcased but the product owner is unhappy with the results You've looked into the matter further and the comments from the product owner indicate that features are missing from the stories. The story is functioning correctly within the limited definition of the story but the product owner is expecting more functionality, such as error handling that isn't being defined in the story What technique should you implement that would help to further define the product owner's expectations and alleviate the issues that are arising during the show cases?
  • Question 54

    How does static code analysis help reduce technical debt?
  • Question 55

    You are testing a new feature in the current iteration. The feature is supposed to take the input of a name and return the number of characters in the name. This information is used by another feature that will determine the size needed on a form. The acceptance criteria state the following
    1) a name of up to 30 characters should be accepted
    2) standard error processing should be in place to limit user errors
    The developers are using TDD and you have asked to see their tests. This is what they gave you

    When you run your manual tests you are finding that when you use the following inputs you get the associated results:
    From these results what can you conclude about the TDD process?