Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invokable Objects #101

Merged
merged 3 commits into from
Aug 18, 2023
Merged

Invokable Objects #101

merged 3 commits into from
Aug 18, 2023

Conversation

bbatsche
Copy link
Owner

@bbatsche bbatsche commented Aug 18, 2023

Description

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

Resolves #89

Contribution Checklist

  • The contents of this pull request are my own work and may be distributed under the terms of the project license
  • I have read and agree to the Contributing guidelines and the Code of Conduct
  • All new changes are covered by tests
  • All previous tests and checks are passing
  • The details of this change have been added to the Unreleased section of the CHANGELOG.md
  • I have included documentation about this change

This pull request includes:

  • Breaking changes to existing functionality (major release)
  • New functionality (minor release)
  • Fixes for existing functionality (patch release)
  • Fixes to an earlier major or minor release version

@codecov
Copy link

codecov bot commented Aug 18, 2023

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%) ⬆️

@bbatsche bbatsche merged commit 1f2c717 into master Aug 18, 2023
12 checks passed
@bbatsche bbatsche deleted the invokable-objects branch August 18, 2023 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Invokable Objects
1 participant