by Dan Rosanova <dnova7@[EMAIL PROTECTED]
>
Apr 7, 2008 at 09:05 AM
Well, personally I'm a really big fan of BizUnit. I use it to create
tests that call my web service with whatever inputs and outputs I
expect. I run it from NUnit, which I guess since your orchestration
is a web service you can just test directly from there. Create an
NUnit project (a class lib) and add a reference to your web service in
it, then you're test will look like:
[TestFixture}
public class MyWebServiceTest
{
[Test]
public void TestMyService()
{
MyWebService service = new MyWebService();
MyMethodResult result = service.MyMethod(1 /*whatever
parameters it takes*/);
Assert.IsNotNull(result);
Assert.AreEqual(2, result.WhateverProperty);
}
}
NUnit and BizTalk can actually play well together.
-Dan