Bruce Jay Mack - iCIS Knowledge base and Collaboration WikiWiki
Welcome
Guest
, you are in:
<root>
iCIS
PTC
•
Login
Test Wiki
Navigation
¶
Main Page
Random Page
Create a new Page
All Pages
Categories
Navigation Paths
Administration
File Management
Create Account
Search the wiki
»
Back
Column Fixture
Modified on 06/03/2013 21:03
by
Administrator
Categorized as
Column Fixture
,
Test Fixture Type
,
TestWiki
'''Column Fixture '''{br}{br} {| cellspacing="0" cellpadding="2" border="1" cellwidth="100px" |- | colspan="6" | Math.Calculator |- style="font-weight: bold;" | value1 | value2 | Sum() | Product() | Exponent() |- | 3 || 2 || 5 || 6 || 9 |- | 12 || 4 || 18 || 48 || 20736 |} The first row is the fully qualified name of the type (namespace+class) being tested.{br} The second row has argument names followed by procedures denoted by the ().{br} The following rows has the values for the arguments and the expected results of the procedures.{br} [http://fit.c2.com/wiki.cgi?ColumnFixture|Wards' Wiki Column Fixture page]{br}{br} After running the test it would look like this.{br} {| cellspacing="0" cellpadding="2" border="1" |- | colspan="6" | Math.Calculator |- style="font-weight: bold;" | value1 | value2 | Sum() | Product() | Exponent() |- | 3 | 2 | bgcolor="#00CC00" | 5 | bgcolor="#00CC00" | 6 | bgcolor="#00CC00" | 9 |- | rowspan="2" bgcolor="#00CC00" | 12 | rowspan="2" bgcolor="#00CC00" | 4 | style="background-color: #FF0000; color: #FFFFFF;" | Expected 18 |- | style="background-color: #FF0000; color: #FFFFFF;" | Actual 16 | rowspan="2" bgcolor="#00CC00" | 48 | rowspan="2" bgcolor="#00CC00" | 20736 |} :Checkout a live example on the [^http://test.brucejmack.net/|test site] where the test fixtures are being developed. Just click the 'Run Tests' link to run the test and see the results.
Meta Keywords:
Meta Description:
Change Comment:
ScrewTurn Wiki
version 3.0.5.600. Some of the icons created by
FamFamFam
.