Difference between revisions of "Format policy registry tests"
(Created page with "== FPR customization permanency testing == Several FPR customizations were applied to an Archivematica 1.6.1 site, which was then upgraded to Archivematica qa/1.x to test the...") |
|||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | <div style="padding: 10px 10px; border: 1px solid black; background-color: #F79086;">This page is no longer being maintained and may contain inaccurate information. Please see the [https://www.archivematica.org/docs/latest/ Archivematica documentation] for up-to-date information. </div> <p> | ||
+ | |||
== FPR customization permanency testing == | == FPR customization permanency testing == | ||
− | Several FPR customizations were applied to an Archivematica 1.6.1 site, which was then upgraded to Archivematica qa/1.x to test the permanency of these changes. | + | Several FPR customizations were applied to an Archivematica 1.6.1 site, which was then upgraded to Archivematica qa/1.x to test the permanency of these changes. Completed on 15 September 2017. |
===Test 1: Rename formats=== | ===Test 1: Rename formats=== | ||
− | Illustrator format versions renamed with version number. | + | Illustrator format versions renamed with version number (this helps with format version identification on Rules tabs, too!). |
+ | [[File:FPR-test1.png]] | ||
− | '''Expected result | + | *'''Expected result''': All formats still renamed |
− | |||
− | '''Actual result | + | *'''Actual result''': All formats still renamed |
− | |||
− | Test outcome: | + | Test outcome: PASS |
===Test 2: Assign preservation format marker=== | ===Test 2: Assign preservation format marker=== | ||
For all JPEG format versions, checked off the “Preservation format?” box. | For all JPEG format versions, checked off the “Preservation format?” box. | ||
+ | [[File:FPR-test2.png]] | ||
− | '''Expected result:''' | + | *'''Expected result:''' All JPEGs still typed as preservation formats |
− | |||
− | '''Actual result:''' | + | *'''Actual result:''' All JPEGs still typed as preservation formats |
− | |||
− | Test outcome: | + | Test outcome: PASS |
===Test 3: Assign different normalization rule=== | ===Test 3: Assign different normalization rule=== | ||
Assigned the “transcode to tif using convert” command to the format Better Portable Graphics, for the purpose of preservation. | Assigned the “transcode to tif using convert” command to the format Better Portable Graphics, for the purpose of preservation. | ||
+ | [[File:FPR-test3.png]] | ||
− | '''Expected result:''' | + | *'''Expected result:''' BPGs still have the above rule |
− | |||
− | '''Actual result:''' | + | *'''Actual result:''' BPGs still have the above rule |
− | |||
− | Test outcome: | + | Test outcome: PASS |
===Test 4: Disable normalization command=== | ===Test 4: Disable normalization command=== | ||
Disabled “Transcoding to mp3 with ffmpeg” normalization command. | Disabled “Transcoding to mp3 with ffmpeg” normalization command. | ||
− | '''Expected result:''' | + | *'''Expected result:''' Command still disabled |
− | |||
− | '''Actual result:''' | + | *'''Actual result:''' Command still disabled |
− | |||
− | Test outcome: | + | Test outcome: PASS |
===Test 5: Reassign rule=== | ===Test 5: Reassign rule=== | ||
Reassigned Broadcast WAVE 1 from the disabled “Transcoding to mp3 with ffmpeg” rule to “Transcoding to wav with ffmpeg” Also enabled format rule as it was disabled by Test 4. | Reassigned Broadcast WAVE 1 from the disabled “Transcoding to mp3 with ffmpeg” rule to “Transcoding to wav with ffmpeg” Also enabled format rule as it was disabled by Test 4. | ||
+ | [[File:FPR-test5.png]] | ||
− | '''Expected result:''' | + | *'''Expected result:''' Rule still set to transcode to wav and enabled |
− | |||
− | '''Actual result:''' | + | *'''Actual result:''' Rule still set to transcode to wav and enabled |
− | |||
− | Test outcome: | + | Test outcome: PASS |
===Test 6: Create new command and assign=== | ===Test 6: Create new command and assign=== | ||
Created a new command “my custom rule for testing” and assigned it to the format Scitex Continuous Tone Bitmap. | Created a new command “my custom rule for testing” and assigned it to the format Scitex Continuous Tone Bitmap. | ||
+ | [[File:FPR-test6.png]] | ||
+ | |||
+ | *'''Expected result:''' Rule still exists and is assigned to the format | ||
+ | |||
+ | *'''Actual result:''' Rule still exists and is assigned to the format | ||
+ | |||
+ | Test outcome: PASS | ||
− | + | ==Future tests== | |
− | |||
− | ''' | + | *Add a new format |
− | + | *Add a normalization rule to a format that doesn't currently have one, but ''will'' have one after the upgrade | |
− | + | [[Category:Development_documentation]] |
Latest revision as of 15:53, 11 February 2020
FPR customization permanency testing[edit]
Several FPR customizations were applied to an Archivematica 1.6.1 site, which was then upgraded to Archivematica qa/1.x to test the permanency of these changes. Completed on 15 September 2017.
Test 1: Rename formats[edit]
Illustrator format versions renamed with version number (this helps with format version identification on Rules tabs, too!).
- Expected result: All formats still renamed
- Actual result: All formats still renamed
Test outcome: PASS
Test 2: Assign preservation format marker[edit]
For all JPEG format versions, checked off the “Preservation format?” box.
- Expected result: All JPEGs still typed as preservation formats
- Actual result: All JPEGs still typed as preservation formats
Test outcome: PASS
Test 3: Assign different normalization rule[edit]
Assigned the “transcode to tif using convert” command to the format Better Portable Graphics, for the purpose of preservation.
- Expected result: BPGs still have the above rule
- Actual result: BPGs still have the above rule
Test outcome: PASS
Test 4: Disable normalization command[edit]
Disabled “Transcoding to mp3 with ffmpeg” normalization command.
- Expected result: Command still disabled
- Actual result: Command still disabled
Test outcome: PASS
Test 5: Reassign rule[edit]
Reassigned Broadcast WAVE 1 from the disabled “Transcoding to mp3 with ffmpeg” rule to “Transcoding to wav with ffmpeg” Also enabled format rule as it was disabled by Test 4.
- Expected result: Rule still set to transcode to wav and enabled
- Actual result: Rule still set to transcode to wav and enabled
Test outcome: PASS
Test 6: Create new command and assign[edit]
Created a new command “my custom rule for testing” and assigned it to the format Scitex Continuous Tone Bitmap.
- Expected result: Rule still exists and is assigned to the format
- Actual result: Rule still exists and is assigned to the format
Test outcome: PASS
Future tests[edit]
- Add a new format
- Add a normalization rule to a format that doesn't currently have one, but will have one after the upgrade