DanielBullimore / OOmutiny

OO Javascript frontend
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Testing Plan 0.2.Color #43

Closed DanielBullimore closed 4 years ago

DanielBullimore commented 4 years ago

Link to Feature List: #19

1 Testing Method:

a Manual / User Testing:

1 Open Testing Document

2 Read output, record results in test register

b Programmatic Testing:

1 check for class OoColor & OO in Javascript namespace 2 declare an instance of OoColor 3 check the instance exists and is type object 4 try retrive the instance's strColor directly, should be undefined. 5 funSetColor & funStr_GetColor are public and type function 6 booValidated variable is public and has value false 7 try calling funSetColor with non color parameter then call funStr_GetColor which should return "#000000" 8 call funSetColor with a color parameter then call funStr_GetColor which must return the color string provided as parameter of funSetColor 9 repeat steps 7 & 8 for a rgb,hex and english color value 10 confirm funStr_GetType from parent class can be called and has value "OoColor"

https://github.com/DanielBullimore/OOmutiny/blob/Master/testing/0.2/0.2.Color%20Testing.html

2 Pass Criteria

2.1 Security, Accessibility & Visibility:

Pretest state:

2.1.1. Public OoColor classes exists in JS namespace 2.1.2. Public OO classes exists in JS namespace

Post testing state:

2.1.3 Public OoColor & OO classes exists in JS namespace

Other/Notes:

-

2.2 Interface & display:

Pretest state:

2.2.1. OoColor does not render any thing on the gui

Post testing state:

2.2.1. The testing results will be displayed

Other/Notes:

-

2.3 Persistent Memory:

(what does the system know about this feature?)

Pretest state:

2.3.1. An instance of OoColor has been declared and is type object 2.3.2. strColor property if that instance can't be accessed and is type undefined 2.3.3. funSetColor and funStr_getColor are public properties of the test instance and both type function 2.3.4. booValidated property of test instance is public and has value 'false'

Post testing state:

2.3.5 funSetColor will not accept non color values 2.3.6 a color value set with funSetColor can be returned with funStr_GetColor 2.3.7 methods from parent class can be called

Other/Notes:

-

2.4 Restrictions:

color must be hex, rgb, english

2.5 Exceptions:

-

DanielBullimore commented 4 years ago

When comparing to the final draft of UML class diagram and 0.2.Color feature discription... OoColor Inherits OO your test needs include OO.class.js and your testing plan needs to include checking inheritance. Thank you me.