Project

General

Profile

action #110236

Updated by JERiveraMoya about 2 years ago

### 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

Back