Skip to content

Test Report

Saruj Sattayanurak edited this page Nov 10, 2021 · 7 revisions

(Fixed)Total Test Cases - 37 test cases

  • Test Pass - 37

  • Test Fail - 0

Code Coverage report

3

Bugs report

Title(Fixed) Age calculation -> Function not throw any exception once get a wrong input format
Step to reproduce pass invalid date to function calcAge such as 10/12/2000, 2000-10-20
Expected Result The function must throw an error message "you are using wrong date format
Actual Result The function did not throw an error message
Test Environment macOS Catalina version 10.15.7
Priority medium
Type Functional
Title(Fixed) Age calculation -> Function not throw any exception once get invalid input value
Step to reproduce pass invalid date to function calcAge such as 10-13-2000, 10-12-2030, 0-10-2000
Expected Result The function must throw an error message "you are using invalid date"
Actual Result The function did not throw an error message
Test Environment macOS Catalina version 10.15.7
Priority medium
Type Functional
Title(Fixed) Data formatting -> JSON object contain invalid format for user's birthdate
Step to reproduce fetch user data from GOV and use function convertGovJson to format data
Expected Result user date suppose to be in dd-mm-yyyy format
Actual Result user date are in format yyyy-mm-dd
Test Environment macOS Catalina version 10.15.7
Priority high
Type Functional
Title(cancel) Data formatting -> JSON object not contain all necessary key
Step to reproduce pass in user data that is not contain user name or user surname or other info
Expected Result JSON object must have all necessary key even value is not define
Actual Result The JSON object does not contain all key
Test Environment macOS Catalina version 10.15.7
Priority medium
Type Functional
Title (Fixed) Priority Assignment -> User with exact 60 years old must have been assign to priority level 3
Step to reproduce pass user who have exact 60 years old to setPriorityPerson
Expected Result priority level 3
Actual Result priority level 2
Test Environment macOS Catalina version 10.15.7
Priority high
Type Functional
Title Calculate User age -> User who was born today in 2000 must have age 21 but get 20
Step to reproduce pass today date with year 2000 as an input of calcAge function
Expected Result 21
Actual Result 20
Test Environment macOS Catalina version 10.15.7
Priority high
Type Functional

Clone this wiki locally