Skip to content

Releases: bovigo/assert

1.7.0 - I can haz diff?

28 Jun 14:57
Compare
Choose a tag to compare
  • added bovigo\assert\predicate\Equals::hasDiffForLastFailure()
  • added bovigo\assert\predicate\Equals::diffForLastFailure()

1.6.1 - Exceptional circumstances require exceptional error messages

20 Jun 19:52
Compare
Choose a tag to compare
  • implemented #1: improve error message when catched exception does not matched expected exception

1.6.0 - Expect the exceptional

21 Feb 12:35
Compare
Choose a tag to compare
  • added bovigo\assert\expect()

1.5.0 - I feel so empty

11 Jan 15:12
Compare
Choose a tag to compare
  • added alias bovigo\assert\assertEmptyString()
  • added alias bovigo\assert\assertEmptyArray()

1.4.0 - Call the police, we got a bad method

31 Dec 16:39
Compare
Choose a tag to compare

BC breaks

  • deprecated bovigo\assert\predicate\Predicate::asWellAs() in favor of bovigo\assert\predicate\Predicate::and(), will be removed with 2.0.0
  • deprecated bovigo\assert\predicate\Predicate::orElse() in favor of bovigo\assert\predicate\Predicate::or(), will be removed with 2.0.0
  • deprecated bovigo\assert\predicate\Predicate::negate() in favor of bovigo\assert\predicate\not(), will be removed with 2.0.0

Other changes

  • added bovigo\assert\predicate\Predicate::and()
  • added bovigo\assert\predicate\Predicate::or()

1.3.0 - Aliases are key

30 Dec 15:27
Compare
Choose a tag to compare
  • added bovigo\assert\predicate\eachKey()
  • added alias bovigo\assert\assertTrue()
  • added alias bovigo\assert\assertFalse()
  • added alias bovigo\assert\assertNull()
  • added alias bovigo\assert\assertNotNull()
  • added alias bovigo\assert\assertEmpty()
  • added alias bovigo\assert\assertNotEmpty()
  • both bovigo\assert\predicate\each() and bovigo\assert\predicate\isOfSize() can now work with non-cloneable traversables

1.2.0 - Fail fast, fail early

29 Dec 12:54
Compare
Choose a tag to compare
  • added bovigo\assert\fail()

1.1.0 - Predicate all the useful things

28 Dec 19:58
Compare
Choose a tag to compare
  • added bovigo\assert\predicate\each()
  • added bovigo\assert\phpunit\PHPUnit_Framework_TestCase::assertContainsOnly()
  • added bovigo\assert\phpunit\PHPUnit_Framework_TestCase::assertContainsOnlyInstancesOf()
  • added bovigo\assert\phpunit\PHPUnit_Framework_TestCase::assertNotContainsOnly()
  • added bovigo\assert\predicate\startsWith()
  • added bovigo\assert\phpunit\PHPUnit_Framework_TestCase::assertStringStartsWith()
  • added bovigo\assert\predicate\doesNotStartWith()
  • added bovigo\assert\phpunit\PHPUnit_Framework_TestCase::assertStringStartsNotWith()
  • added bovigo\assert\predicate\endsWith()
  • added bovigo\assert\phpunit\PHPUnit_Framework_TestCase::assertStringEndsWith()
  • added bovigo\assert\predicate\doesNotEndWith()
  • added bovigo\assert\phpunit\PHPUnit_Framework_TestCase::assertStringEndsNotWith()
  • added bovigo\assert\phpunit\PHPUnit_Framework_TestCase::assertNan()
  • added bovigo\assert\phpunit\PHPUnit_Framework_TestCase::assertFinite()
  • added bovigo\assert\phpunit\PHPUnit_Framework_TestCase::assertInfinite()
  • bovigo\assert\predicate\not() now also accepts callables

1.0.0 - Initial release.

28 Dec 13:30
Compare
Choose a tag to compare
v1.0.0

tag release v1.0.0