Uploaded image for project: 'Unitils'
  1. UNI-225

assertDataset accepts extra rows

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      h4. Scenario

      # Use CleanInsert to insert two rows of data into a table.
      # Use assertDataset which contains two rows which match the two rows just inserted.
      # Test OK.
      # Remove one row from the xml-file used by assertDataset annotation.
      # The test is still OK.

      We would expect the final step here to fail. Otherwise we would need extra test logic to assert that the database contains _only_ one row.

      Perhaps my setup is wrong?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sherriff Erik Drolshammer
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: