Skip to content

Testing Scenarios 1.8

Lucia edited this page Jan 22, 2015 · 13 revisions

This page describes changes that happened between 1.7.x and 1.8 in the desktop sync client. It's here to help to plan testing and write testplans.

Most stuff should be verified over all supported platforms by default.

Those should be tested in addition to the normal tests: https://github.com/owncloud/client/wiki/Testing-Scenarios

Increased parallelism

1.8 has much more parallelism. MKCOL, MOVE and DELETE are now done in parallel, even between different directories. Chunks of a single file are now sent in parallel.

Test should include:

  • create a lot of directories with only one small file in each. And verify that MKCOL and uploads are done in parallel.

New QNAM based updater ("Discovery" phase)

This changes how the client is getting information about the directories from the server. This could influence a lot of things, e.g. when a file/directory has changed remotely or locally and gets re-uploaded/downloaded, if moves still works properly etc. https://github.com/owncloud/client/issues/2507

bandwidth limiting

The implementation of bandwith limiting was changed. We should verify it still works.

Uploads from Client to server

Quite some details in the way how we upload files changed, ie. the chunk size changes and uploads of chunks happen in parallel.

Tests should include:

  • Uploads of files with size <5MiB (smaller than new chunk size), exact 5MiB, between 5 and 10MiB, exact 10MiB, between 10 and20 MiB, exact 20MiB and larger than 20MiB
  • Interrupt of big file upload

This feature is currently on hold (https://github.com/owncloud/client/issues/2724)

Sharing via File Manager

https://github.com/owncloud/client/issues/1444

From 1.8 on there is a new context menu (right click) in the file managers for files and directories . If it is clicked while the sync client is running, a new Share Dialog opens that allows to share a file from desktop.

Tests should include:

  • Share files using the different kinds of sharing, check on the server, if the file is really shared.
  • Check with Windows Explorer, MacOSX Finder and Nautilus on Linux.

Selective Sync on Account Setup

https://github.com/owncloud/client/issues/2580

The size should now appear in the selective sync dialog showing the size of the folders. The account setup wizard also contains the size that is going to be downloaded.

From 1.8 on, the default is not longer to sync all files from the ownCloud server, but...

Tests should include:

  • Check that the sizes are shown and accurate.
  • Check if correct selective syncing is set up.

Direct Download feature

https://github.com/owncloud/client/issues/2614

With owncloud 8.1 (or even later) and mirall 1.8, for some external backend, there is a feature to have direct download. Test should include:

  • Check that direct download really happen when it should (when configured on the server)
  • Even if the URL is redirecting
  • And if there is an error because the URL is not accessible, that we retry using normal download feature.