Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Module Asserts Laravel Package

codeception/module-asserts

Codeception Asserts module adds rich assertion helpers for your tests, letting you use a wide set of PHPUnit-style assertions directly in Codeception suites. Ideal for unit, functional, and acceptance tests to keep checks readable and failures clear.

View on GitHub
Deep Wiki
Context7
3.3.0

What's Changed

  • Test against PHP 8.5 in https://github.com/Codeception/module-asserts/pull/34
  • feat: add replacements for deprecated assertContainsOnly() and assertNotContainsOnly() + drop support for lib-asserts < 3.1 in https://github.com/Codeception/module-asserts/pull/35
    • 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()

Full Changelog: https://github.com/Codeception/module-asserts/compare/3.2.1...3.3.0

3.2.1

What's Changed

Full Changelog: https://github.com/Codeception/module-asserts/compare/3.2.0...3.2.1

3.2.0

What's Changed

Full Changelog: https://github.com/Codeception/module-asserts/compare/3.1.0...3.2.0

3.1.0
3.0.0
  • Codeception 5 support
2.0.1

What's Changed

2.0.0

What's Changed

Full Changelog: https://github.com/Codeception/module-asserts/compare/1.3.1...2.0.0

1.3.1
  • Support PHP 8 (no code changes)
  • Reverted docblock change to fix static analysis (#9 by @edwinkortman)
1.3.0

#7 by @TavoNiievez

1.2.1
1.2.0

Added new assertion methods:

  • assertMatchesRegularExpression
  • assertDoesNotMatchRegularExpression
  • assertFileDoesNotExist

They were introduced in PHPUnit 9 to replace older method names, but Asserts module makes them work with older versions of PHPUnit too.

1.1.1
1.1.0
1.0.0
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
codraw/framework-extra-bundle
codraw/messenger
codraw/security
codraw/mailer
codraw/contracts
codraw/profiling
codraw/dependency-injection
codraw/tester
codraw/core
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony