codeception/lib-asserts
Assertion methods used by Codeception core and Asserts module
3.2.0
64M downloads/mo
#584 most downloaded on Packagist
Codeception/lib-asserts
What this package is like to depend on
Last release 6 months ago
06 Feb 2026
Release timing varies
gaps range from 2 months to 2.1 years
Some releases are documented
notes for 9 of 19 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
19 releases · first in 2019
4 releases in the last 12 months
see the full history below
Release timeline
18 releases · Sep 2019 to Feb 2026Releases
latest 19-
3.2.006 Feb 2026 -
3.1.022 Dec 2025Release notes
Open source →3.1.0 (2025-12-22)
Features
- add replacements for deprecated assertContainsOnly() and assertNotContainsOnly() (#19) (8e161f3)
assertContainsNotOnlyArray()assertContainsNotOnlyBool()assertContainsNotOnlyCallable()assertContainsNotOnlyFloat()assertContainsNotOnlyInstancesOf()assertContainsNotOnlyInt()assertContainsNotOnlyIterable()assertContainsNotOnlyNumeric()assertContainsNotOnlyObject()assertContainsNotOnlyResource()assertContainsNotOnlyClosedResource()assertContainsNotOnlyScalar()assertContainsNotOnlyString()assertContainsOnlyArray()assertContainsOnlyBool()assertContainsOnlyCallable()assertContainsOnlyFloat()assertContainsOnlyInt()assertContainsOnlyIterable()assertContainsOnlyNumeric()assertContainsOnlyObject()assertContainsOnlyResource()assertContainsOnlyClosedResource()assertContainsOnlyScalar()assertContainsOnlyString()
- add support for php 8.5 #18
- add replacements for deprecated assertContainsOnly() and assertNotContainsOnly() (#19) (8e161f3)
-
3.0.123 Oct 2025Release notes
Open source →3.0.1 (2025-10-23)
Bug Fixes
- re-add assertNotContainsEquals() because it is still part of phpunit (5cd564a)
-
3.0.004 Sep 2025 -
2.2.010 Mar 2025 -
2.1.010 Feb 2023Release notes
Open source →- Reimplement property assertions removed from PHPUnit 10 by @Naktibalda in #12
- Use FQN in PHPDoc type hints for classes and interfaces by @Sweetchuck in #11
-
2.0.127 Sep 2022 -
2.0.003 Dec 2021Release notes
Open source →What's Changed
- PHP 7.4 or higher is required.
- Updated code base to PHP 7.4 by @TavoNiievez in #9 .
Full Changelog: 1.13.2...2.0.0
-
1.13.221 Oct 2020Nothing published for this version
-
1.13.128 Aug 2020Nothing published for this version
-
1.13.028 Aug 2020Release notes
Open source →Merge pull request #6 from Codeception/restore-wrapper-methods
Use wrapper methods again
-
1.12.017 Apr 2020Nothing published for this version
-
1.11.011 Feb 2020Nothing published for this version
-
1.10.123 Nov 2019Nothing published for this version
-
1.2.007 Feb 2020Nothing published for this version
-
1.1.113 Nov 2019Nothing published for this version
-
1.1.012 Nov 2019Nothing published for this version
-
1.0.016 Sep 2019Nothing published for this version
-
1.10no dateNothing published for this version