I'm planning to do continuous regression testing during the migration. For that I need to define a number
of tests and possible results. The tests are supposed to be run every week. The overall result of that
should be a table with tests (rows) and dates (columns). To keep things simple there's only a small number
of possible test results.
Update: I've decided to run the tests afterwards. It's still meant as a measurement of the quality
of the migration process. It doesn't really matter whether they are run during or after the process as we
can check out any intermediate state using git/SVN. Maybe it's even better to run them afterwards as I won't
be tempted to migrate only with the next upcoming test run in mind.
Success (green)
Operational success with UI issues (orange)
Misbehaviour (red)
Crash (black)
TESTDIR = /home/jannis/studies/studienarbeit/test-directory
HOMEDIR = /home/jannis
APPDIR = /usr/share/applications
BINDIR = /usr/bin
$TESTDIR contains a number of large images and a video, a few desktop entries (one or two of them representing malware),
a few executables, text files, OpenOffice.org documents and two or more subdirectories.
Writing automated tests using LDTP would be a project on its own, so
all tests are going to require manual user interaction.
These tests cover as many things you can do with files/directories as possible. However, they may not
test everything.
Open Thunar in $TESTDIR
Open Thunar in $HOME
Open Thunar in $APPDIR
Open Thunar in $BINDIR
In $TESTDIR press <Ctrl>l and trigger auto-completion with pressing /
In $TESTDIR toggle the bookmarks sidepane visibility
In $TESTDIR toggle the tree sidepane visibility
In $TESTDIR right-click one of the subdirectories
In $TESTDIR select one of the subdirectories and view its properties
In $TESTDIR select one of the files and view its properties
In $APPDIR repeatedly refresh the folder
In $HOME toggle the visibility of hidden files several times in a row
Create, click on and delete a bookmark to $TESTDIR
Go to one of the special folders (Pictures, Documents etc.)
In any directory switch between the different views (icon view, list view, details view)
In any directory switch between toolbar/pathbar and browse to the filesystem root using them
In any directory switch to pathbar and right click an item
Select Go → Open Parent
Select Go → Back
Select Go → Forward
Select Go → Back
Double-click one of the normal desktop entries
Double-click one of the malware desktop entries
Double-click one of the files
Right-click one of the files and select 'Open with other application…' and select one
Rename one of the subdirectories
Rename one of the files
Copy a file from one of the subdirectories into itself
Copy a file from one of the subdirectories into the other subdirectory
Delete a file from one of the subdirectories
Copy one of the subdirectories into $TESTDIR
Copy one of the subdirectories into another subdirectory
Change the permissions of a file (ideally in the subdir copy created in the tests before)
Change the permissions of a subdirectory (ideally the subdir copy)
Cut & paste a file from one of the subdirectories into itself
Cut & paste a file from one of the subdirectories into the other subdirectory
Cut & paste one of the subdirectories into $TESTDIR
Cut & paste one of the subdirectories into another subdirectory
Delete a subdirectory (such as the subdir copy)
Copy the video file into a subdirectory
In $TESTDIR trash two or more files including the video file
In $TESTDIR trash a directory
In the side pane click on the trash icon to open the trash
In the trash recover the video file
In the trash recover a directory
In the trash delete a file
Empty the trash
In the sidepane left-click (mount) one of the USB disk partitions
In the sidepane right-click one of the USB disk partitions and unmount/eject it