Test Case Identifier
addNode
Test Items
The purpose of the test is to check that by calling the addNode method on an existing singleGraph object with different existing number of nodes, a new node will be added to the graph. The method to be used is addNode(java.lang.String id).
Input Specification

The possible values of the different categories for the method's inputs and environment are defined in the following text file:
  • Categories definition

  • The combinations of the category values (generated with genpairs) to be used as input for the test cases to be generated are presented in the following csv files:
  • Categories1' values
  • Categories2' values
  • More than one method can be tested using the same input thus more test cases than the ones specified in the csv files can be performed.
    Output Specification
    Assert that the graph is now set as expected, depending on the environment it might have added the node or not.