I like the nUnit approach, quick and efficient to get the job done.
I just tested and it works like a charm.
Thanks for the quick reply! :)
On 3 oct, 15:08, "Jeremy D. Miller" <
jeremydmil...@yahoo.com> wrote:
> Yup, you can either:
>
> 1.) attach a debugger to the UI (not recommended)
> 2.) You can run a StoryTeller test from within an NUnit/xUnit/mbUnit test
>
> Something like this:
>
> using System.Diagnostics;
> using NUnit.Framework;
> using StoryTeller.Execution;
>
> namespace StoryTellerTestHarness
> {
> [TestFixture, Explicit]
> public class Template
> {
> private ProjectTestRunner runner;
>
> [TestFixtureSetUp]
> public void SetupRunner()
> {
> runner = new
> ProjectTestRunner(@"C:\git\blue\source\DovetailCRM.ScreenTesting\RuleTests. xml");
>
> }
>
> [Test]
> public void Create_New_Cases()
> {
> runner.RunAndAssertTest("Cases/Create New Cases");
> }
>
> [TestFixtureTearDown]
> public void TeardownRunner()
> {
> runner.Dispose();
> }
> }
>
> }
>
> Jeremy D. Miller
> The Shade Tree Developer
>
jeremydmil...@yahoo.com
>
> ________________________________
> From: Winder <
guillaume5...@gmail.com>