FixTure insider
Your FixTure Table can do anything they want, including increasing rows and cells (see TechnicalReference, find how to do), but most fixtures only log units are pair. Here, some tag rules:
Green FixTure compares cells and software, they match red (including "expected" and "actual" section): FixTure compare cells and software, they do not match yellow: fixture has error gray text in white: The cell is empty, so FixTure Shows your answer Black text grasses: fixture ignores the cell
Here is some keywords in FixTure to find in the table:
A complete space (Blank Cell): FixTure tries to fill the answer inside (it will give the unit "Blank": fixture translates it into an empty string. (It's because it is because A actually empty cell meaning "give me an answer", as mentioned earlier) Word "error": FixTure expects an error. If the error occurs, the cell will be green, not normal yellow.
These follow you can meet your own purpose. They describe the following. Simple saying that they are:
ColumnFixTure RowFixTure ActionFixTure SummaryFixTure
ColumnFixTure
ColumnFixTure is the easiest programming fixture, which is also the most useful, you should often use columnFixTure.
A ColumnFixTure is an example of expressing a single line in the form. A table can contain multiple instances, one line, see below:
Why is it called "Column" fixture? Because each column in the table maps an object or method in your FixTure. Fit uses the second row tap to implement mapping.
When a column is ended in parentheses, fixTure calls a method instead of setting a variable .FixTure looks at the value returned from the method, then compares it and the value in the table, and then the red is green.
As a result, all of this makes you write your own columnFixTure almost insignificant. The following figure describes the FixTure written above with C #:
ColumnFixTures processes from left to right, from top to bottom. According to the above 2, it seems to be the following code like you and customers:
// row 1
StandardHours = 40; // The StandardHours Column
HolidayHours = 0; // the HolidayHours Column
Wage = new currency ("20"); // The Wage Column
Compareresults (New Currency ($ 800), Pay ()); // the pay () Column
// row 2
StandardhouRs = 45;
HolidayhouRs = 0;
Wage = new currency ("20");
Compareresults (New Currency ($ 950), Pay ());
// ETC ...
Note that the variable is not cleared between the lines.
(Work
STILL in Progress