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

Run tests with Blackbox #6

Merged
merged 9 commits into from
Nov 23, 2024
Merged

Run tests with Blackbox #6

merged 9 commits into from
Nov 23, 2024

Conversation

Baptouuuu
Copy link
Member

This PR switch the execution of tests from PHPUnit to BlackBox (to be aligned with other packages).

It adds new proofs to make sure all values objects are always within the bounds declared statically.

Adding a proof to Period showed that the behaviours wasn't always consistent. The declared bounds have been modified to make sure it always contains consistent data no matter the way periods are used.

It also showed that PointInTime\Year::numberOfDays() declared type wasn't correct.

@Baptouuuu Baptouuuu self-assigned this Nov 23, 2024
Copy link

codecov bot commented Nov 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.90%. Comparing base (ba1e043) to head (b0665e1).
Report is 10 commits behind head on develop.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop       #6      +/-   ##
=============================================
+ Coverage      99.88%   99.90%   +0.01%     
- Complexity       686      687       +1     
=============================================
  Files             51       59       +8     
  Lines           1726     2073     +347     
=============================================
+ Hits            1724     2071     +347     
  Misses             2        2              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@Baptouuuu Baptouuuu merged commit 0e55714 into develop Nov 23, 2024
15 checks passed
@Baptouuuu Baptouuuu deleted the blackbox branch November 23, 2024 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant