Full Content Synchronization Acceptance Tests


This are hypothetical acceptance tests. They have been created to explore the utility of machine validated detailed requirements.
 

We start with some verbs that establish our testing environment
Start
java.lang.ClassNotFoundException: Start
ContentSyncronization  
DatabaseSnapshot 3/21/2001  
     

 

Make unverified, encoded content available

No specific tests.

View files at a location


View most recent files at a site, sorted by title or date.
Begin
java.lang.ClassNotFoundException: Begin
MainPage  
Choose Site 505
Press Recent Additions  
Check Present Results 60_Minutes_3_15_02
Check Absent Results 60_Minutes_1_1_02
Choose Sort By Title
Check First Results Aarons's_Landing
Choose Sort By Date
Check First Results Book_Notes_3_21_02

Examine the type of specific titles.
Choose
java.lang.ClassNotFoundException: Choose
Results 60_Minutes_3_15_02
Check Content Proofed
Choose Results Book_Notes_3_21_02
Check Content Unproofed

View a remote site without a given title.
Choose
java.lang.ClassNotFoundException: Choose
Site Merser Island
Press Recent Additions  
Check Absent Results 60_Minutes_3_15_02

Compare files at Master Location with files at destination

Show that 60_Minutes has already been transferred, but not Book_Notes
Choose
java.lang.ClassNotFoundException: Choose
Site Tatoosh
Press All Titles  
Check Absent Results Book_Notes_3_21_02
Check Present Results 60_Minutes_3_15_02
Press Unavailable Titles  
Check Present Results Book_Notes_3_21_02
Check Absent Results 60_Minutes_3_15_02

 

Choose and transfer files

Multiple selections show total size and recommended transfer mode
Choose
java.lang.ClassNotFoundException: Choose
Results Book_Notes_3_21_02
Check Total Size 35,234 mb
Choose Results Charlie_Rose_3_20_02
Check Total Size 68,321 mb
Check Recommended Mode Fastest Way

 

Estimate of transfer time

Use link parameters or recent history to estimate transfer times.
Check
java.lang.ClassNotFoundException: Check
Estimated Transfer Time 2 hours, 35 minutes
Choose Recommended Mode Kindest Way
Check Estimated Transfer Time 7 hours, 22 minutes

Error handling

We use a backdoor into the app to simulate communication failure.
Press
java.lang.ClassNotFoundException: Press
Start Transfer  
Wait For Writes 1
Check Status 1 blocks written
Wait For Writes 10
Check Status 10 blocks written
Simulate Disconnect  
Check Status stalled, 10 blocks written
Simulate Reconnect  
Check Status 10 blocks written
Wait For Writes 30
Check Status 30 blocks written

We can cancel the transfer and files will be cleaned up.
Press
java.lang.ClassNotFoundException: Press
Cancel Transfer  
Check Status transfer canceled
Press Recent Add