Saturday, 15 March 2008

Concordion 1.2.0

I've released a new version of Concordion.

  • Support for full set of JUnit4.4 annotations (@Before, @After etc.)
  • New command: assertTrue
For example, this instrumented specification:
<p>
The first name <span concordion:set="#firstName">Bob</span>,
<span concordion:assertTrue="#firstName.startsWith(#letter)">
starts with the letter <b concordion:set="#letter">B</b></span>.
</p>
Will result in the following output:
Success

A failure would look like this:
Failure

1 comment:

Anonymous said...

Congratulations for a great work.
A possible extension that would be very useful, is the option to display variables in the HTML text, to enable testing against dynamic values.
For instance, if we want to check that a certain data will have today's date.
A possible usage would be:

#today