Project

General

Profile

Actions

action #41855

closed

[functional][y] Develop test plan for yast2_hostnames from scratch

Added by agraul over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Enhancement to existing tests
Target version:
SUSE QA - Milestone 20
Start date:
2018-10-01
Due date:
2018-11-20
% Done:

0%

Estimated time:
Difficulty:

Description

YaST Hostnames Module test plan

Introduction

YaST Hostnames is a module that helps system administrators with configuring
their /etc/hosts file. It has a Terminal and a Graphical User Interface and
validates input.

Features to be Tested

Included

  • Terminal UI
  • Graphical UI
  • File reading + parsing
  • File saving
  • Input validation
  • Aborting without damaging the existing content

Excluded

  • Ease of use
  • Performance
  • Handling of large files (exact metric is not decided yet)

Test Strategy

The most important component is that saving the configuration creates a working
file, i.e. it is not corrupted or damaged. It is equally important that
cancellation keeps the old configuration intact. Therefore the biggest focus is
on disk IO.
Functionality only needs to be tested once, one of the two UIs is used to test
the functionality while the other is just checked for visual correctness.
Input validation, correct parsing of existing /etc/hosts file and aborting is
tested in the GUI, while the TUI only needs to render correctly and have working
keyboard shortcuts.

Test cases 1 and 2 will be executed on ARM, Power.
All test cases will be executed on x86_64, using Qt GUI on GNOME (Xorg).
Additionally, test case 5 is executed using the ncurses TUI and Qt on GNOME
(Wayland).
On s390, only ncurses is used as UI in the tests.

Actions

Also available in: Atom PDF