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

Updated by syrianidou_sofia over 3 years ago

Instruction on setting up yast-devel environment:
https://yastgithubio.readthedocs.io/en/latest/development/

Actions #2

Updated by riafarov over 3 years ago

  • Due date set to 2020-10-06
  • Target version set to future
Actions #3

Updated by riafarov over 3 years ago

  • Due date changed from 2020-10-06 to 2020-10-20
  • Category set to Enhancement to existing tests
Actions #4

Updated by riafarov over 3 years ago

  • Subject changed from [y] Organize and open tickets for yast-matepackage-handler unit test to [y][timeboxed:12h] Organize and open tickets for yast-matepackage-handler unit test
  • Description updated (diff)
  • Category changed from Enhancement to existing tests to Spike/Research
  • Status changed from New to Workable
  • Target version changed from future to SLE 15 SP3
Actions #5

Updated by riafarov over 3 years ago

  • Project changed from openQA Tests to qe-yam
  • Category deleted (Spike/Research)
Actions #6

Updated by riafarov over 3 years ago

  • Project changed from openQA Tests to qe-yam
Actions #7

Updated by syrianidou_sofia over 3 years ago

  • Status changed from Workable to In Progress
  • Assignee set to syrianidou_sofia
Actions #8

Updated by syrianidou_sofia over 3 years ago

  • Status changed from In Progress to Resolved

The following tickets have been opened:

https://progress.opensuse.org/issues/76879
https://progress.opensuse.org/issues/76882
https://progress.opensuse.org/issues/76885
https://progress.opensuse.org/issues/76888

After reviewing the functions, I have removed a few, that appear too simple, mostly for OneClickInstall.rb

Actions #9

Updated by riafarov over 3 years ago

  • Due date deleted (2020-10-20)
Actions

Also available in: Atom PDF