owncloud / owncloud/QA

Generic external storage integration tests

Open
#443 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

2 - Developing
Dominant language
Shell
Stars
16
Forks
16
Avg merge
11h 11m
Merged PRs (30d)
1

Description

Write integration tests for most file operations to be done on an external storage.

Such tests could be reused for any external storage implementation.

This should be a replacement for the current unit tests in some storages that connect directly to an external system. Normally unit tests aren't supposed to connect to external systems.

See https://github.com/owncloud/core/blob/v10.0.0/tests/lib/Files/Storage/Storage.php to get an idea what is currently tested through unit tests.

@owncloud/qa @DeepDiver1975

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the referenced tests/lib/Files/Storage/Storage.php to inventory the operations currently covered by unit tests. Identify the existing external-storage integration-test entry points and define reusable coverage for the selected file operations across storage implementations. Done means the shared tests run against external storage without relying on storage-specific unit tests.

Written by the indexing model from the issue text.

Assessment

Domain
testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.