FitNesse

MarkupHashTable

Hash Tables are collections of name-value pairs that can be passed as arguments into test fixtures. They render as tables. DoFixture will decode a name-value pair table into a true hashtable.

Any text enclosed in !{ and } will be treated as a Hash Table.

Markup Text
Displays as
!{fname:Bob, lname:Martin, dob:5-Dec-1952}
fname Bob
lname Martin
dob 5-Dec-1952

The key name must be plain text, but the value can be any reasonable wiki construct.

Markup Text
Displays as
!{fname:''Bob'', lname:''Martin'', today:!today}
fname Bob
lname Martin
today 10 Aug, 2026


Syntax issues.


     !{
     Name:Bob,
     Address:There,
     Time:Now
     }! 

CSS

You can change their appearance using the css classes hash_table, hash_row, hash_key, and hash_value

Keyboard Shortcuts ?

×
  • t Test
  • e Edit page
  • a Add new page
  • p Properties
  • w Where used?
  • / Focus on search bar
  • s Open search page
  • g u Go to User Guide