Project

General

Profile

action #65939

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 over 1 year ago. Updated 12 months 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.

History

#1 Updated by riafarov over 1 year ago

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

#2 Updated by riafarov over 1 year ago

  • Due date changed from 2020-05-05 to 2020-05-19

#3 Updated by ybonatakis over 1 year ago

  • Assignee set to ybonatakis

#4 Updated by ybonatakis over 1 year ago

  • Status changed from Workable to In Progress

#5 Updated by riafarov over 1 year ago

  • Target version set to SLE 15 SP2

#6 Updated by riafarov over 1 year ago

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

#8 Updated by riafarov over 1 year ago

  • Due date changed from 2020-06-02 to 2020-06-16

#9 Updated by ybonatakis over 1 year ago

  • Status changed from In Progress to Feedback

#10 Updated by ybonatakis over 1 year ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF