To run Concordion.NET acceptance tests without the need for addins, you have to derive your test fixtures from the Concordion.Runners.NUnit.ExecutableSpecification class and annotate it with the standard NUnit [TestFixture] annotation.
The HelloWorldTest fixture from the Concordion.NET tutorial would need to be adapted as follows:
using Concordion.Runners.NUnit; using NUnit.Framework; namespace Kickstart.Spec.HelloWorld { [TestFixture] public class HelloWorldTest : ExecutableSpecification { private readonly Greeter m_HelloWorldGreeter = new Greeter(); public string GetGreeting() { return m_HelloWorldGreeter.GetMessage(); } } }
When you execute the following instrumentation with the NUnit runner of your choice:
<html xmlns:concordion="http://www.concordion.org/2007/concordion">
<body>
<p concordion:assertEquals="GetGreeting()">Hello World!</p>
</body>
</html>
Your Concordion.NET tests are now run as a "usual" NUnit test.