XunitShould.Sources

Should assertion extensions for the XUnit v1 framework


Keywords
testing, assertions, xunit, should
License
MIT
Install
Install-Package XunitShould.Sources -Version 5.0.0

Documentation

An updated and compiled version of the Xunit.Extensions in the Adjunct Toolkit.

XunitShould

  • Boolean Extensions

    • ShouldBeTrue
    • ShouldBeFalse
  • IComparible Extensions

    • ShouldBeGreaterThan
    • ShouldBeGreaterThanOrEqualTo
    • ShouldBeInRange (inclusive and exclusive boundaries)
    • ShouldBeLessThan
    • ShouldBeLessThanOrEqualTo
    • ShouldNotBeInRange (inclusive and exclusive boundaries)
  • IEnumerable Extensions

    • ShouldBeEmpty
    • ShouldContain
    • ShouldEqual
    • ShouldNotBeEmpty
    • ShouldNotContain
  • Object Extensions

    • ShouldBeDerivedFrom
    • ShouldBeInstanceOf
    • ShouldBeNull
    • ShouldBeSameAs
    • ShouldEqual
    • ShouldNotBeInstanceOf
    • ShouldNotBeNull
    • ShouldNotBeSameAs
    • ShouldNotEqual
  • String Extensions

    • ShouldContain
    • ShouldEndWith
    • ShouldEqual
    • ShouldNotContain
    • ShouldNotEndWith
    • ShouldNotStartWith
    • ShouldStartWith
  • Throws Extensions

    • Action.ShouldThrow
    • Func<object>.ShouldThrow

XunitShouldXml

  • XName Extensions

    • ShouldEqual
  • XElement Extensions

    • ShouldEqual
  • XAttribute Extensions

    • ShouldEqual