Project

General

Profile

Actions

action #65939

closed

coordination #36712: [saga] Use YaST specific framework for GUI testing

coordination #62726: [functional][y][epic] Create separate Ruby Gem representing libyui Client API

[functional][y] Add unit tests for public api methods in libyui_client

Added by oorlov about 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
SUSE QA - SLE 15 SP2
Start date:
2020-04-21
Due date:
2020-06-16
% Done:

0%

Estimated time:
8.00 h

Description

Currently, there are 'integration' tests, that mock HTTP requests and validate widgets methods.
The issue with this approach is that it does not test each 'unit' separately. So, it will take some time to investigate what exactly failed in case of test failure.

Task

  1. Implement unit tests for widgets methods (e.g. button.click, checkbox.select etc.) by stubbing internal method calls (Please see RSpec mocks and stubs https://relishapp.com/rspec/rspec-mocks/docs);
  2. Implement unit tests for LibyuiHttpClient methods.
Actions #1

Updated by riafarov about 4 years ago

  • Status changed from New to Workable
  • Estimated time set to 8.00 h
Actions #2

Updated by riafarov about 4 years ago

  • Due date changed from 2020-05-05 to 2020-05-19
Actions #3

Updated by ybonatakis almost 4 years ago

  • Assignee set to ybonatakis
Actions #4

Updated by ybonatakis almost 4 years ago

  • Status changed from Workable to In Progress
Actions #5

Updated by riafarov almost 4 years ago

  • Target version set to SLE 15 SP2
Actions #6

Updated by riafarov almost 4 years ago

  • Due date changed from 2020-05-19 to 2020-06-02
Actions #8

Updated by riafarov almost 4 years ago

  • Due date changed from 2020-06-02 to 2020-06-16
Actions #9

Updated by ybonatakis almost 4 years ago

  • Status changed from In Progress to Feedback
Actions #10

Updated by ybonatakis almost 4 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF