1

I want to pass !today (yyyy/MM/dd) from fitnesse table cell to C# fixture. It's not working. However, if I use it on wiki, it's working fine.

Working:

!define !today

Not working:

!|classname|

|!today (yyyy/MM/dd)|

where I am going wrong. Need help in how to pass today's date from fitnesse table to C# fixture.

janfitz
  • 1,183
  • 12
  • 21

1 Answers1

2

The leading ! in a table means the contents of the table are interpreted literally, so symbols like !today are not expanded. Use a plain table:

|classname|
|!today (yyyy/MM/dd)|
Mike Stockdale
  • 5,256
  • 3
  • 29
  • 33