bbatsche / Verify

BDD Assertions for PHPUnit and Codeception
MIT License
4 stars 0 forks source link

Invokable Objects #101

Closed bbatsche closed 1 year ago

bbatsche commented 1 year ago

Description

Support passing invokable objects directly to verify() and writing assertion about their return value or exceptions.

Resolves #89

Contribution Checklist

This pull request includes:

codecov[bot] commented 1 year ago

Codecov Report

Merging #101 (068fd6d) into master (832d0ff) will increase coverage by 0.10%. The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #101      +/-   ##
============================================
+ Coverage     95.00%   95.10%   +0.10%     
- Complexity      258      268      +10     
============================================
  Files            10       10              
  Lines           620      633      +13     
============================================
+ Hits            589      602      +13     
  Misses           31       31              
Files Changed Coverage Δ
src/API/Method.php 100.00% <100.00%> (ø)
src/API/ThrownException.php 100.00% <100.00%> (ø)
src/API/Value.php 93.25% <100.00%> (+0.25%) :arrow_up: