Closed DanielBullimore closed 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.
Link to Feature List: #19
1 Testing Method:
1 Open Testing Document
2 Read output, record results in test register
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:
2.1.1. Public OoColor classes exists in JS namespace 2.1.2. Public OO classes exists in JS namespace
2.1.3 Public OoColor & OO classes exists in JS namespace
-
2.2 Interface & display:
2.2.1. OoColor does not render any thing on the gui
2.2.1. The testing results will be displayed
-
2.3 Persistent Memory:
(what does the system know about this feature?)
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'
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
-
2.4 Restrictions:
color must be hex, rgb, english
2.5 Exceptions:
-