action #46676
closedcoordination #44054: [functional][y][epic] Develop maintainable and scalable test framework
[functional][y] Refactor yast2 test modules structure and namings
0%
Description
Currently, there is a mess in yast2 test modules structure (e.g. 'console_yasttest' inherited from installation test modules, that is wrong. y2logsstep is a parent for all installation tests, but it is just a library for logging). Also the modules are named with the different style.
This also will simplify postfail hooks structure.
Acceptance criteria¶
- Modules structure reflects the reality and purpose is clear (module tests should be separated from installation tests).
- Perl module names follows the same naming pattern;
- New structure does not introduce any code duplication (common part is shared)
Suggestion¶
Proposed structure and naming, please see in the attached 'Proposed Structure for y2 Modules.pdf' file (They might be different from the proposal ones in the final implementation).
Files
Updated by riafarov over 5 years ago
- Description updated (diff)
- Estimated time set to 13.00 h
Updated by riafarov over 5 years ago
- Due date changed from 2019-04-09 to 2019-04-23
Updated by riafarov over 5 years ago
- Due date changed from 2019-04-23 to 2019-05-07
Updated by ybonatakis over 5 years ago
- Status changed from Workable to In Progress
- Assignee set to ybonatakis
Updated by ybonatakis over 5 years ago
i started with the proposed diagram in mind but i think there are more on this task as i found interdependence with the yast2 modules. for example the y2x11test is used in other tests groups outside of the yast one.
Updated by ybonatakis about 5 years ago
PR: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/7317
This might need to be tested by other teams as there are changes in modules other to yast as well
Updated by JERiveraMoya about 5 years ago
- Due date changed from 2019-05-07 to 2019-05-21
Impact of this work is really spread so we need to continue working on that in the PR.
@oorlov suggests to pair up in this ticket providing some PR.
Updated by ybonatakis about 5 years ago
- Status changed from In Progress to Resolved
Updated by ybonatakis about 5 years ago
hopefully this is not going to cause any serious defects. i run some test on OSD with updated code and so far so good