Project

General

Profile

Actions

action #46676

closed

coordination #44054: [functional][y][epic] Develop maintainable and scalable test framework

[functional][y] Refactor yast2 test modules structure and namings

Added by oorlov over 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Enhancement to existing tests
Target version:
SUSE QA - Milestone 25
Start date:
2019-01-24
Due date:
2019-05-21
% Done:

0%

Estimated time:
13.00 h
Difficulty:

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

  1. Modules structure reflects the reality and purpose is clear (module tests should be separated from installation tests).
  2. Perl module names follows the same naming pattern;
  3. 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

Actions #1

Updated by okurz over 5 years ago

  • Target version set to Milestone 25
Actions #2

Updated by oorlov over 5 years ago

  • Due date set to 2019-04-09
Actions #3

Updated by riafarov over 5 years ago

  • Description updated (diff)
  • Estimated time set to 13.00 h
Actions #4

Updated by riafarov over 5 years ago

  • Status changed from New to Workable
Actions #5

Updated by riafarov over 5 years ago

  • Due date changed from 2019-04-09 to 2019-04-23
Actions #6

Updated by riafarov over 5 years ago

  • Due date changed from 2019-04-23 to 2019-05-07
Actions #7

Updated by ybonatakis over 5 years ago

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

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.

Actions #9

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

Actions #10

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.

Actions #11

Updated by ybonatakis about 5 years ago

  • Status changed from In Progress to Resolved
Actions #12

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

Actions

Also available in: Atom PDF