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

Verify Laravel Package

codeception/verify

Tiny BDD-style assertion wrapper for PHPUnit/Codeception. Use verify() and Verify::Array/Callable for readable, chainable expectations like equals, contains, greater/less, true/false/null, empty/notEmpty, throws/doesNotThrow—closer to natural language.

View on GitHub
Deep Wiki
Context7
3.1.0
3.0.0
  • Support for PHPUnit 10
  • Removed VerifyClass methods incompatible with PHPUnit 10:
    • hasAttribute
    • hasStaticAttribute
    • notHasAttribute
    • notHasStaticAttribute
2.3.0
  • Fixed PHPUnit constraint
  • This version supports PHPUnit 9 only
2.2.0

What's Changed

Full Changelog: https://github.com/Codeception/Verify/compare/2.1.1...2.2.0

2.1.1
  • Support PHP 8
  • Fixed stringToContainString and stringToContainStringIgnoringCase (#49 by @Vetrinus)
2.1.0
  • Added new expect-toBe and expect-notTo BDD Syntax.
  • Added full documentation about Expectations.
  • Fixed minor bugs.
  • BC: expect function now works with expectations instead of verifiers.
2.0.0
  • Support for Chained Verifiers.
  • The Verify API is now fully based on the PHPUnit public API.
  • Improved IDE autocompletion depending on the type of data you want to verify
  • Simplified data validations.
  • Improved code quality, performance and maintainability.
  • See BC details in the UPGRADE.md file.
2.0.0-rc1

Pre-release of the new version of Verify.

1.5.0

Support for full PHPUnit API, that means ~42 new verifiers! (containsEquals, notContainsEquals, notSameSize, sameSize, directoryDoesNotExist, directoryExists, directoryIsNotReadable, directoryIsNotWritable, directoryIsReadable, directoryIsWritable, fileEqualsCanonicalizing, fileEqualsIgnoringCase, fileIsNotReadable, fileIsNotWritable, fileIsReadable, fileIsWritable, fileNotEqualsCanonicalizing, fileNotEqualsIgnoringCase, jsonFileNotEqualsJsonFile, jsonStringNotEqualsJsonFile, finite, infinite, isClosedResource, isIterable, isNotClosedResource, isNotIterable, nan, notFalse, notTrue, that, json, jsonStringNotEqualsJsonString, notRegExp, stringEqualsFileCanonicalizing, stringEqualsFileIgnoringCase, stringNotEqualsFileCanonicalizing, stringNotEqualsFileIgnoringCase, isNotReadable, isNotWritable, xmlFileNotEqualsXmlFile, xmlStringNotEqualsXmlFile, xmlStringNotEqualsXmlString).

1.4.0
  • Used strict_types and namespaces.

  • Created exception InvalidVerifyException.php in case verify is used with some invalid data.

  • Added docs for all verifiers.

  • Added data validations with php issers functions and instanceof.

  • BC: equalXMLStructure and its corresponding test were removed.

  • BC: hasntKey verifier renamed to hasNotKey for clarity.

  • BC: Removed support for PHP 7.0 and its corresponding versions of PHPUnit and phpunit-wrapper.

1.3.0
  • Supports PHPUnit 9
  • equals and not equals methods use WithDelta version of asserts (@ricpelo)
  • added throws and doesNotThrow methods (@biserantonov)
0.5.0

Backported all new assertions for PHPUnit 5 and PHP 5.6

1.2.0
  • equalsCanonicalizing
  • notEqualsCanonicalizing
  • equalsIgnoringCase
  • notEqualsIgnoringCase
  • equalsWithDelta
  • notEqualsWithDelta
1.1.0
  • Added a lot of new assertions.
  • Tests are executed with PHPUnit 8 too.
1.0.0
0.4.0

Support for PHPUnit 6. See #31 . by @Shockwave2k

0.3.3

Now you can assert floats with additional $delta param, see #29

0.3.2
0.3.1

#21 #23

0.3.0

Changelog

  • Removed deprecated "tag" assertion
  • Removed rare used and uninformative "select*" assertions
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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4