FileRoller

Differences between revisions 2 and 5 (spanning 3 versions)
Revision 2 as of 2008-11-05 12:45:15
Size: 2408
Editor: br2fwl01
Comment: added suggestions for further test cases
Revision 5 as of 2009-06-15 20:07:35
Size: 2764
Editor: c-24-21-50-133
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
<<Include(ApplicationTesting/Header)>> <<Include(Testing/Header)>>
Line 4: Line 4:
Report any bugs you find at http://bugs.launchpad.net/ubuntu/+source/file-roller/+filebug Report any bugs you find using the following command in a terminal:
{{{
ubuntu-bug file-roller
}}}

You can learn more about reporting bugs at http://wiki.ubuntu.com/ReportingBugs.
Line 8: Line 13:
For every test, start file-roller new, for example by opening a terminal (Applications -> Accessories -> Terminal) and running the "file-roller" command from there.
Line 9: Line 16:
 1. Make sure that in your home directory there is no file named "fr-test-archive-1.tgz" (remove/rename it if necessary)  1. Make sure that in your home directory there is no file named "fr-test-archive-1.tar.gz" (remove/rename it if necessary)
Line 12: Line 19:
 1. Verify that target folder is set to your home directory, and that type is set to "Automatic"
1. Click New
 1. Verify that target folder is set to your home directory, and that type is set to "Automatic", and click New
Line 17: Line 23:
 1. Verify that an archive with name "fr-test-archive-1.tgz" has been created in your home directory  1. Verify that an archive with name "fr-test-archive-1.tar.gz" has been created in your home directory
Line 19: Line 25:
  1. Run "tar tzf ~/fr-test-archive-1.tgz" in the terminal, and verify that the output is exactly "issue"
  1. Run "tar xzf ~/fr-test-archive-1.tgz -O" in the terminal, and verify that the output is exactly the content of the /etc/issue file
  1. Run "tar tzf ~/fr-test-archive-1.tar.gz" in a terminal, and verify that the output is exactly "issue"
  1. Run "tar xzf ~/fr-test-archive-1.tar.gz -O" in a terminal, and verify that the output is exactly the content of the /etc/issue file
Line 25: Line 31:
 1. Select the file "fr-test-archive-1.tgz" from your home directory  1. Select the file "fr-test-archive-1.tar.gz" from your home directory
Line 28: Line 34:
 1. Select Other -> /tmp/ -> Open as target directory  1. Select Other -> /tmp/ as target directory
Line 30: Line 36:
 1. Verify that the file /etc/issue exists now and that it has the same content as /etc/issue  1. Verify that the file /tmp/issue exists now and that it has the same content as /etc/issue:
  1. Run "diff /tmp/issue /etc/issue; echo $?" in a terminal and verify that it prints only a "0"

These tests are to check the functionality of the file-roller package. Please try to run all of the following tests.

Report any bugs you find using the following command in a terminal:

ubuntu-bug file-roller

You can learn more about reporting bugs at http://wiki.ubuntu.com/ReportingBugs.

Tests

For every test, start file-roller new, for example by opening a terminal (Applications -> Accessories -> Terminal) and running the "file-roller" command from there.

Creating an archive

  1. Make sure that in your home directory there is no file named "fr-test-archive-1.tar.gz" (remove/rename it if necessary)
  2. Click Archive -> New

  3. Enter "fr-test-archive-1" as name
  4. Verify that target folder is set to your home directory, and that type is set to "Automatic", and click New
  5. Click Edit -> Add Files

  6. (TBD: add some directories as well)
  7. Select the file "/etc/issue" and click OK
  8. Verify that an archive with name "fr-test-archive-1.tar.gz" has been created in your home directory
  9. Verify that the file is a valid tar.gz archive:
    1. Run "tar tzf ~/fr-test-archive-1.tar.gz" in a terminal, and verify that the output is exactly "issue"
    2. Run "tar xzf ~/fr-test-archive-1.tar.gz -O" in a terminal, and verify that the output is exactly the content of the /etc/issue file

Opening .tar.gz archive

  1. Make sure that there is no "/tmp/issue" file (remove/rename it if necessary)
  2. Click Archive -> Open

  3. Select the file "fr-test-archive-1.tar.gz" from your home directory
  4. Verify that a single "issue" file is shown
  5. Click Archive -> Extract

  6. Select Other -> /tmp/ as target directory

  7. Click Extract
  8. Verify that the file /tmp/issue exists now and that it has the same content as /etc/issue:
    1. Run "diff /tmp/issue /etc/issue; echo $?" in a terminal and verify that it prints only a "0"

Creating an archive in a remote directory (samba/ftp/http/sftp)

Opening an archive from a remote directory (samba/ftp/http/sftp)

(regression test for bugs like LP 263026)

Opening an archive that is contained in another archive

(test case: an archive contains another nested archive; when trying to open the nested archive, a second file-roller window should be started)

Previewing a file from an archive

(test that it is possible to double-click on text files/images/audio files in an archive and have the file opened in gedit/eog/totem/other appropriate application)

Opening an ISO file

(test that .iso files can be opened in file-roller)


Parent page: ApplicationTesting

CategoryAppTesting

Testing/Applications/FileRoller (last edited 2009-06-15 20:07:35 by c-24-21-50-133)