owncloud / owncloud/QA

Integration tests independent from OC, with auto-install

Open
#329 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Wouldn't it be nice if the current integration tests that are stored in core's "build/integration" could be separated and made to run on any OC instance ?

Or at least we could add support for sentences like "OC 8.2.8 is installed".
This would make it possible to cover known bugs that only appear after upgrading.
For example (dummy):

Scenario: create share in OC 8.2, update in OC 9.0 and run transfer ownership
    When ownCloud v8.2.8 is installed
    And user "user0" creates a share "test" with permissions 23
    And ownCloud is updated to v9.0.5
    Then when transferring ownership of "user0" to "user1"
    And the command is successful
    ...

(there was a case where this would fail)

@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

Start by reviewing the current integration tests in build/integration and how they depend on core’s own instance. Define how an OC version such as 8.2.8 would be installed and how an update to 9.0.5 would be exercised in the Gherkin scenario. Done means the tests can run against independent OC instances and cover upgrade-related bugs.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.