Skip to content

v0.2.0 Learn to walk

Closed
Due by March 28, 2016
•Closed Mar 29, 2016

Added features:

  • CommonAssertions:
    • MustBeSameAs and MustNotBeSameAs
  • StringAssertions:
    • MustHaveLength
    • MustStartWith and MustNotStartWith
    • MustStartWithEquivalentOf and MustNotStartWithEquivalentOf
    • MustEndWith and MustNotEndWith
    • MustEndWithEquivalentOf and MustNotEndWithEquivalentOf
    • MustContainOnlyLetters
    • MustContainOnlyLettersAndDigits
  • EnumerableAssertions:
    • MustHaveCount
  • DictionaryAssertions:
    • MustContainValue and MustNotContainValue
    • MustContainValues and MustNotContainValues
    • MustContainPair and MustNotContainPair

Changes:

  • MustHaveNoDuplicates name changed to MustNotContainDuplicates.
  • New way of specifying tests for custom messages and custom exceptions.
  • Instead of exception objects, delegates are now passed to raise custom exceptions.
  • Custom messages are not used internally to reduce the number of objects created per call.
  • Custom exceptions do not replace ArgumentNullExceptions any longer when MustNotBeNull is called internally.
  • Renamed DictionaryAssertions:
    • MustContainKey
    • MustNotContainKey
    • MustContainKeys
    • MustNotContainKeys
100% complete

Issues