locked
Assert.Multiple EXISTED IN MSTEST RRS feed

  • Question

  • In Nunit we have Assert.Multiple , as shown below , Similarly do we have any multiple asserts in mstest

    sometimes, it's desireable to continue and accumulate any additional failures so they may all be fixed at once.

     Assert.Multiple(() =>
                {
                    Assert.AreEqual(1, 1, "1");
                    Assert.AreEqual(2, 2, "2");
                    Assert.AreEqual(3, 3, "3");

    });


    charantej

    Wednesday, March 22, 2017 12:43 PM

All replies