vendredi 26 juin 2015

NUnit Equivalent of TestContext.Write/Line?

I often use TestContext.WriteLine in my MSTest unit tests to output data relevant to the test that's running. This instead of using Console or Debug as it's possible the code that's being test may be dumping data there, and I don't want my UT stuff thrown in amongst all that. VS separates all 3 of these out quite nicely.

In converting a set of UTs over to nUnit, however, I'm not seeing a way to use this call w/in an nUnit test.

Anybody know where I can find this same ability in the nUnit framework?

Thanks

Aucun commentaire:

Enregistrer un commentaire