Differences between revisions 13 and 14
Revision 13 as of 2009-01-30 12:59:21
Size: 6175
Editor: jrg
Comment:
Revision 14 as of 2009-01-30 13:35:10
Size: 6622
Editor: jrg
Comment:
Deletions are marked like this. Additions are marked like this.
Line 188: Line 188:
Check the direct disseminator call Ingest an object and its (faulty) disseminator, so that the webservice will crash. Observe that it crashes.

=== Steps ===

||'''Test step'''||'''Status'''||'''Notes'''||
|| [:DDAReleaseTestInstallMini:Install the miniDOMS-package] || || ||
|| [:DDAReleaseTestFailPreingestFaultyDisseminator:Perform pre-ingest of object with faulty disseminator] || || ||
|| [:DDAReleaseTestFailIngestFaultyDisseminator:Ingest pre-ingest output into the Fedora] || || ||
|| [:DDAReleaseTestFailDirectDisseminatorCall:Check Failed Direct Disseminator Call] || || ||

[[BR]]


== Failure test - Performing OAI harvest fails ==

=== Purpose ===
Test whether harvester generates the expected output.
Line 194: Line 210:

[[BR]]


== Failure test - Performing OAI harvest fails ==

=== Purpose ===
Test whether harvester generates the expected output.

=== Steps ===

||'''Test step'''||'''Status'''||'''Notes'''||
|| || || ||

Release test

The release test consists of the following (TODO: Still needs to be fleshed out some more)

The objects chosen for the first step of the release test are:

  • Volume Vol. 1
  • Region København (Contains Town 1)
  • Region Holstein (Contains Town 200 - 275)
  • Town 1 (København)
  • Town 207 (Segeberg)
  • Town 200 (Kiel)
  • Paper 1-18
  • Paper 1-19
  • Paper 200-1
  • Paper 200(1771)
  • Paper 207-1
  • Page 1_86
  • Page 1_293
  • Page 1_300
  • PNG dda1_86
  • PNG dda1_293
  • PNG dda1_300

BR

The release test consists of

  1. Success test
    • Test that the system responds as expected when presented with valid data.
  2. Failure tests
    • Test of correct behaviour on failures, ensuring that they are "failing gracefully".

Each table below describes the steps needed to complete the release test. Subpages describe the details of what you should do in the step.

On each step, do what the subpage describes. Then mark the status column with "OK" or "Fail" depending on whether the step was succesful or not.

The notes fields can be used for comments about the test.

BR

Success test

Purpose

Test that the system responds as expected when presented with valid data.

Steps

Test step

Status

Notes

[:DDAReleaseTestInstallMini:Install the miniDOMS-package]

[:DDAReleaseTestPreingest:Perform pre-ingest of selected objects]

[:DDAReleaseTestCompareHandWritten:Compare pre-ingest output with hand-written objects]

[:DDAReleaseTestIngest:Ingest pre-ingest output into the Fedora]

[:DDAReleaseTestDisseminator:Test direct disseminator call]

[:DDAReleaseTestInstallSumma:Install Summa On A Stick]

[:DDAReleaseTestOAIHarvest:Perform OAI harvest from miniDOMS to Summa]

[:DDAReleaseTestSummaIndex:Summa-Ingest Harvest Output and Generate Summa Index]

[:DDAReleaseTestSummaIntegration:Summa Integration Success Test]

BR

Failure test - Simple preingester fails on missing pages

Purpose

Test that teh system fails gracefully (with meaningful error message) when receiving a sequence of pages that has missing pages in the sequence.

Steps

Test step

Status

Notes

[:DDAReleaseTestInstallMini:Install the miniDOMS-package]

[:DDAReleaseTestFailPreingestMissing:Perform preingest of objects with missing pages in the sequence]

Note: It might (not) be relevant to test what happens when pre-ingester receives invalid png-files.

BR

Failure test - Simple preingester fails on filename anomalies

Purpose

Test that teh system fails gracefully (with meaningful error message) when receiving a sequence of pages that includes pages with filename anomalies.

Steps

Test step

Status

Notes

[:DDAReleaseTestInstallMini:Install the miniDOMS-package]

[:DDAReleaseTestFailPreingestFilenameAnomalies:Perform preingest of objects with filename anomalies]

BR

Failure test - Simple preingester fails on last page missing

Purpose

Test that teh system fails gracefully (with meaningful error message) when receiving a sequence of pages where the last page is missing.

Steps

Test step

Status

Notes

[:DDAReleaseTestInstallMini:Install the miniDOMS-package]

[:DDAReleaseTestFailPreingestLastPageMissing:Perform preingest of objects with last page missing]

BR

Failure test - Simple preingester fails on too many pages

Purpose

Test that teh system fails gracefully (with meaningful error message) when receiving a sequence of pages with too many pages compared to the number in BIND_x.xml.

Steps

Test step

Status

Notes

[:DDAReleaseTestInstallMini:Install the miniDOMS-package]

[:DDAReleaseTestFailPreingestTooManyPages:Perform preingest of objects with too many pages]

BR

Failure test - Full preingester fails on empty xml file

Purpose

Test that teh system fails gracefully (with meaningful error message) when one of the xml files is empty

Steps

Test step

Status

Notes

[:DDAReleaseTestInstallMini:Install the miniDOMS-package]

[:DDAReleaseTestFailPreingestEmptyXml:Perform preingest of xml files with an empty xml file among them]

BR

Failure test - Full preingester fails on mismatching pagenumbers

Purpose

Test that teh system fails gracefully (with meaningful error message) when the two occurrences of the pagenumber at imagefile and pagenumber are not matching.

Steps

Test step

Status

Notes

[:DDAReleaseTestInstallMini:Install the miniDOMS-package]

[:DDAReleaseTestFailPreingestPagenumberMismatch:Perform preingest of xml file with internally mismatching pagenumbers]

BR

Failure test - Full preingester fails on nonexistent imagefile

Purpose

Test that teh system fails gracefully (with meaningful error message) when the imagefile referred to in the xml is non-existent.

Steps

Test step

Status

Notes

[:DDAReleaseTestInstallMini:Install the miniDOMS-package]

[:DDAReleaseTestFailPreingestImagefileNonexistent:Perform preingest of xml file which refers to a nonexistent imagefile]

BR

Failure test - Direct disseminator call fails

Purpose

Ingest an object and its (faulty) disseminator, so that the webservice will crash. Observe that it crashes.

Steps

Test step

Status

Notes

[:DDAReleaseTestInstallMini:Install the miniDOMS-package]

[:DDAReleaseTestFailPreingestFaultyDisseminator:Perform pre-ingest of object with faulty disseminator]

[:DDAReleaseTestFailIngestFaultyDisseminator:Ingest pre-ingest output into the Fedora]

[:DDAReleaseTestFailDirectDisseminatorCall:Check Failed Direct Disseminator Call]

BR

Failure test - Performing OAI harvest fails

Purpose

Test whether harvester generates the expected output.

Steps

Test step

Status

Notes

ActionDDAReleaseTest (last edited 2010-03-17 13:09:12 by localhost)