NXUnit Framework Class Library

XMLAssert.Counter Property

[This is preliminary documentation and subject to change.]

How many assertions and comparisions did you do? It just like NUnit.Framwork.Assert.Counter.

Note   ATTN: The value of this property will return to ZERO after you got it. It means the getter method are not repeatable.

Sample:
XMLAssert xa = XMLAssert.CreateInstance();
...
Assert.AreEqual(..., xa.Counter);
Assert.AreEqual(0, xa.Counter);

public int Counter {get;}

See Also

XMLAssert Class | NXUnit.Framework Namespace