Project

General

Profile

Actions

action #110236

closed

coordination #104829: [Epic] Improve schedules for test suite in YaST group

Create unit test for YAML schedule with reusable flows

Added by JERiveraMoya about 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
2022-04-25
Due date:
% Done:

0%

Estimated time:

Description

Motivation

We need some basic unit testing coverage for new feature that reuse flows to schedule modules via YAML files.

Acceptance criteria

AC1: Unit testing covering positive and negative cases in t/ folder.

Suggestions

For positive cases we could just create mini schedules/defaults/flows files and check for expected list of modules.
Consider the case where we overwrite the same key in more than one file.
For negative cases we should check for potential errors, keys which do not exists, openQA settings not provided.

Further info

PR where new feature was introduced: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/14241

Actions

Also available in: Atom PDF