Hidden table heads feature is the Fitnesse Visual Polymorphism
What you can see in the Fitnesse User Guide
You can hide the first row of a table. This allows you to write comment tables that just look like ordinary HTML tables.
The complete table still gets executed, the first row is just hidden by a CSS rule.
Precede the first row with a ‘#’. (KV comment: will be changed to – instead of # in the upcomming Fitnesse releases)
But I want to expand this definition.
You can use Hidden table heads feature to conceal the needless things in your acceptance test script!
Fitnesse Visual Polymorphism
Imagine that you have two scenarios
------------ScenarioLibrary page------------
|scenario|execute and check|command|
|check|cmd|@command|0|
|scenario|execute|command|
|cmd|@command|
------------ScenarioLibrary page------------
You can use them in your test
------------SetUp page------------
-!|execute|
|command|
|cmd /c rd /S /Q "C:\AnyDirectory"|
-!|execute and check|
|command|
|WMIC product where name='My Product'" call Uninstall|
------------test page------------
The first one tries to delet the directory. cmd will return 0 if success and 2 if directory doesn’t exists. So I am not care about the result. Using the execute scenario.
The second performs the product uninstallation. It is critical to know the result (e.g. if this SetUp page will be included into product setup testing suite). So I use the different scenario execute and check in that case.
But all this things (check or not to check) are just the noise in that case. So I am hidding them into scenario and making the Tables Heads hidden.
The final SetUp page will not have any noise. Just facts:)
| command |
| cmd /c rd /S /Q “C:\AnyDirectory” |
| command |
| WMIC product where name=’My Product’” call Uninstall |
CHESS KILLER TIPS
Chess Video Podcast by Alexandra Kosteniuk
chesslecture.com
http://www.chesslecture.com/sample.php There is the simple to understand the “The Hook and Ladder Trick”.
Chess Videos
Diagram Generator Create a diagram of a specific chess position… You can use the diagram generator to create diagrams for your blog or chess site.
Fitnesse: the results for |check not| for BLANK is confusing me
It is too confusing that the Fitnesse highlight expected [BLANK] in second case.
The right exporting folder
| check | execute | cmd /c dir /B “C:\ExportEmpty” | BLANK |
| check not | execute | cmd /c dir /B “c:\ExportNotEmpty” | [2d1313b9-cfb8-4405-8e5f-91f34b5a1e08 ]
expected [BLANK] |
The best way is to say NOT EXPECTED [BLANK]
the script for the page:
BTW: Why should I type BLANK for the second scenario? I’ll get the IGNORE result if I left them empty
The InvalidDatabaseSchema rule in Pre-Upgrade Checker
The InvalidDatabaseSchema rule in Pre-Upgrade Checker for Windows SharePoint Services 3.0 Service Pack 2 lists the names of the content databases that have a schema that differs from the standard Windows SharePoint Services 3.0 content database schema
Schools kill creativity
Check this out http://www.ted.com/talks/ken_robinson_says_schools_kill_creativity.html
I heard a great story recently — I love telling it — of a little girl who was in a drawing lesson. She was six and she was at the back, drawing, and the teacher said this little girl hardly ever paid attention, and in this drawing lesson she did. The teacher was fascinated and she went over to her and she said, “What are you drawing?” And the girl said, “I’m drawing a picture of God.” And the teacher said, “But nobody knows what God looks like.” And the girl said, “They will in a minute.” – by Ken Robinson