1

I am exploring the possibilities of unit-testing BizTalk Server 2010 artifacts with MSTest.

So currently I am testing maps (thanks to TestableMapBase) and comparing outputs (using XmlDsigC14NTransform's digested output) and all that works fine –now– but:

How can I properly unit-test a map containing e.g. a DatabaseLookupFunctoid and DatabaseValueExtractFunctoid, or perhaps simply a DateCurrentDateFunctoid?

mousio
  • 10,079
  • 4
  • 34
  • 43

1 Answers1

0

I experimented a bit with the Moles framework and that already allows me to solve the problem with the DateCurrentDateFunctoid, since it suffices to deroute DateTime.Now for that.

Still, I need to further check its possibilities or alternatives, without just pulling out the big guns like TypeMock or JustMock…

mousio
  • 10,079
  • 4
  • 34
  • 43