action #71122
closedcoordination #69394: [y][epic] Add test for the YaST 1-click install
[y][timeboxed:12h] Organize and open tickets for yast-matepackage-handler unit test
0%
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.
Updated by syrianidou_sofia about 4 years ago
Instruction on setting up yast-devel environment:
https://yastgithubio.readthedocs.io/en/latest/development/
Updated by riafarov about 4 years ago
- Due date set to 2020-10-06
- Target version set to future
Updated by riafarov about 4 years ago
- Due date changed from 2020-10-06 to 2020-10-20
- Category set to Enhancement to existing tests
Updated by riafarov about 4 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
Updated by riafarov about 4 years ago
- Project changed from openQA Tests to qe-yam
- Category deleted (
Spike/Research)
Updated by riafarov about 4 years ago
- Project changed from openQA Tests to qe-yam
Updated by syrianidou_sofia about 4 years ago
- Status changed from Workable to In Progress
- Assignee set to syrianidou_sofia
Updated by syrianidou_sofia about 4 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