<p>
When user <b concordion:set="#firstName">Bob</b>
logs in, the greeting will be:
<b concordion:assertEquals="greetingFor(#firstName)">Hello Bob!</b>
</p>
<p>
The first name <span concordion:assertTrue="#firstName.startsWith(#letter)">starts
with <b concordion:set="#letter">B</b></span>.
</p>
<p>
The first name <span concordion:assertTrue="#firstName.startsWith(#letter)">starts
with <b concordion:set="#letter">C</b></span>.
</p>
Will result in this output:

package spec.examples; import org.concordion.integration.junit4.ConcordionRunner; import org.junit.runner.RunWith; @RunWith(ConcordionRunner.class) public class Demo { public String greetingFor(String firstName) { return String.format("Hello %s!", firstName); } }
I'd really like to hear what you think. If you love it, hate it, have suggestions for improvements, problems or questions please let me know (david@crowdsoft.com).
Privacy Policy | Copyright © 2007-2008 David Peterson. All rights reserved.