Skip to content

Commit

Permalink
Test DSpace transfer workflow with multiple exports
Browse files Browse the repository at this point in the history
This converts the DSpace transfer scenario into a scenario outline to
test DSpace transfers with individual and multiple exports.
  • Loading branch information
replaceafill committed Apr 30, 2024
1 parent 2388fce commit 4bd7f46
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions features/black_box/create-aip.feature
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ Background: The storage service is configured with a transfer source that can se
And the "Parse Dataverse METS XML" job completes successfully
And the METS file contains a dmdSec with DDI metadata

Scenario: Generate an AIP using a Dspace transfer workflow
Given a "dspace" transfer type located in "SampleTransfers/DSpaceExport/ITEM@2429-2700.zip"
Scenario Outline: Generate an AIP using a Dspace transfer workflow
Given a "dspace" transfer type located in "<sample_transfer_path>"
When the AIP is downloaded
Then the "Identify DSpace mets files" job completes successfully
And the "Identify DSpace text files" job completes successfully
Expand All @@ -54,6 +54,11 @@ Background: The storage service is configured with a transfer source that can se
And there is a DSpace-specific rights metadata section for each object
And the entries in the file section of the METS are sorted by file group

Examples: sample transfers
| sample_transfer_path |
| SampleTransfers/DSpaceExport/ITEM@2429-2700.zip |
| SampleTransfers/DSpaceExport |

Scenario: Generate an AIP using a Zipped directory transfer workflow
Given a "zipfile" transfer type located in "SampleTransfers/ZippedDirectoryTransfers/DemoTransferCSV.zip"
When the transfer is approved
Expand Down

0 comments on commit 4bd7f46

Please sign in to comment.