Releases: bovigo/assert
Releases · bovigo/assert
1.7.0 - I can haz diff?
- added
bovigo\assert\predicate\Equals::hasDiffForLastFailure()
- added
bovigo\assert\predicate\Equals::diffForLastFailure()
1.6.1 - Exceptional circumstances require exceptional error messages
- implemented #1: improve error message when catched exception does not matched expected exception
1.6.0 - Expect the exceptional
- added
bovigo\assert\expect()
1.5.0 - I feel so empty
- added alias
bovigo\assert\assertEmptyString()
- added alias
bovigo\assert\assertEmptyArray()
1.4.0 - Call the police, we got a bad method
BC breaks
- deprecated
bovigo\assert\predicate\Predicate::asWellAs()
in favor ofbovigo\assert\predicate\Predicate::and()
, will be removed with 2.0.0 - deprecated
bovigo\assert\predicate\Predicate::orElse()
in favor ofbovigo\assert\predicate\Predicate::or()
, will be removed with 2.0.0 - deprecated
bovigo\assert\predicate\Predicate::negate()
in favor ofbovigo\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
- 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()
andbovigo\assert\predicate\isOfSize()
can now work with non-cloneable traversables
1.2.0 - Fail fast, fail early
- added
bovigo\assert\fail()
1.1.0 - Predicate all the useful things
- 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.
v1.0.0 tag release v1.0.0