Project

General

Profile

action #71122

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 about 1 year ago. Updated 12 months 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:

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.

History

#1 Updated by syrianidou_sofia about 1 year ago

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

#2 Updated by riafarov about 1 year ago

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

#3 Updated by riafarov about 1 year ago

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

#4 Updated by riafarov about 1 year 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

#5 Updated by riafarov about 1 year ago

  • Project changed from openQA Tests to qe-yast
  • Category deleted (Spike/Research)

#6 Updated by riafarov about 1 year ago

  • Project changed from openQA Tests to qe-yast

#7 Updated by syrianidou_sofia 12 months ago

  • Status changed from Workable to In Progress
  • Assignee set to syrianidou_sofia

#8 Updated by syrianidou_sofia 12 months 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

#9 Updated by riafarov 12 months ago

  • Due date deleted (2020-10-20)

Also available in: Atom PDF