Failures are indicated by adding a class="failure"
attribute to the element,
and replacing the contents with a <del>
and <ins>
elements containing the expected value and the actual value respectively.
<p concordion:assertEquals="acronym">ABC</p>
When marked as a failure, with acroynm
returning XYZ
, it becomes:
<p concordion:assertEquals="acronym" class="failure"> <del class="expected">ABC</del> <ins class="actual">XYZ</ins> </p>
Note: The underscores indicate line continuations for readability only. They are not output. In reality, it is all in one long line.