Project

General

Profile

Actions

action #71122

closed

coordination #69394: [y][epic] Add test for the YaST 1-click install

[y][timeboxed:12h] Organize and open tickets for yast-matepackage-handler unit test

Added by syrianidou_sofia over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Target version:
SUSE QA - SLE 15 SP3
Start date:
2020-09-08
Due date:
% Done:

0%

Estimated time:

Description

The following parts of yast-metapackage-handler package code, are considered to be the basis for the unit test:

src/modules/OneClickInstall.rb

src/modules/OneClickInstallWorkerFunctions.rb

There is already small part of the unit test, waiting to be reviewed in PR: https://github.com/yast/yast-metapackage-handler/pull/22
The objective is to create various smaller tickets for completing the unit test of the above functions. The second file contains more complicated functions.
Helpful links:
Builtins https://github.com/yast/yast-ruby-bindings/blob/master/src/ruby/yast/builtins.rb
Ops https://github.com/yast/yast-ruby-bindings/blob/master/src/ruby/yast/ops.rb
deep_copy https://github.com/yast/yast-ruby-bindings/blob/master/src/ruby/yast/yast.rb
PackageSlideShow https://github.com/yast/yast-packager/blob/master/src/modules/PackageSlideShow.rb
Progress https://github.com/yast/yast-yast2/blob/master/library/wizard/src/modules/Progress.rb
SlideShow https://github.com/yast/yast-yast2/blob/master/library/packages/src/modules/SlideShow.rb

As an outcome we should get the list of methods to cover in each of the mentioned classes.

Actions

Also available in: Atom PDF