I am trying to use Test Stack Bddfy with MSTest and am running into an interesting issue. I have a piece of code where I am expecting an exception to be thrown. I am specifying that in MSTest tests and they are rightly passing. However Bddfy sees that exception as a problem and shows failing test in it's Html report. My method is simple
[TestMethod, ExpectedException(typeof(ArgumentOutOfRangeException))]
public void Run()
{
this.BDDfy();
}
How can I tell Bddfy that I am expecting exception of some type in this test?
I could not find Bddfy tag here so just tagging with MsTest.
Thanks,
Aucun commentaire:
Enregistrer un commentaire