code_junkie

What's a good way to debug unit tests written with multiple [Row] attributes?

Nov 12th, 2011
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. [TestFixture]
  2. public class TestDrivenIgnoresMbUnitAttributesWhenDebugging
  3. {
  4. [Test]
  5. [Row(1)]
  6. [Row(2)]
  7. public void SomeFunc(int x)
  8. {
  9. Assert.AreNotEqual(default(int), x);
  10. }
  11. }
Add Comment
Please, Sign In to add comment