Project

General

Profile

Actions

action #151249

open

Cover changed code in PRs on github.com/os-autoinst/os-autoinst-distri-opensuse with openQA test runs

Added by mkittler about 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2023-11-21
Due date:
% Done:

0%

Estimated time:

Description

Motivation

  • Make it easier to come up with test scenarios for verification runs
  • Make it harder to miss verification runs of test scenarios that are important for the changed code

Acceptance criteria

  • AC1: After creating or updating a PR one receives feedback in form of one or more openQA test results, e.g. in form of a failed check in GitHub's UI.
  • AC2: The openQA tests mentioned in AC1 execute the changed code so as much of the changed code as possible is run.
  • AC3: The openQA tests mentioned in AC1 generally pass. In case of a failure the likeliness that the failure relates to the changes must be very high and a passing run (without the changes from the PR) must be available for comparison.
  • AC4: Not too many openQA jobs are triggered, e.g. changing code in a utility module that is used everywhere does not trigger all conceivable test scenarios. Redundant test runs are avoided.

Further remarks


Related issues 1 (0 open1 closed)

Related to openQA Project (public) - action #150992: [timeboxed][spike solution:20h] openQA tests in pull requests to github.com/os-autoinst/os-autoinst-distri-opensuse/ size:MResolvedmkittler

Actions
Actions #1

Updated by okurz about 1 year ago

  • Related to action #150992: [timeboxed][spike solution:20h] openQA tests in pull requests to github.com/os-autoinst/os-autoinst-distri-opensuse/ size:M added
Actions #2

Updated by okurz about 1 year ago

  • Target version set to future

Alright. To me it looks like #150992 could still bring us in the right direction for this so I suggest we work on #150992 in our backlog first before we scare of our team with this task which mentions a bit too many "challenges" for my taste ;) Agreed?

Actions

Also available in: Atom PDF