Skip to content

Refactor tests to use ClassDescriptionBuilder instead of new ClassDescription #459

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

Merged
merged 2 commits into from
Mar 11, 2025

Conversation

micheleorselli
Copy link
Member

@micheleorselli micheleorselli commented Mar 10, 2025

Using the builder is more coincise and readable and allows to evolve ClassDescription constructor without changing tests

Copy link

codecov bot commented Mar 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.89%. Comparing base (fd47236) to head (c0436aa).
Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #459      +/-   ##
============================================
+ Coverage     94.79%   94.89%   +0.09%     
- Complexity      606      631      +25     
============================================
  Files            69       69              
  Lines          1614     1684      +70     
============================================
+ Hits           1530     1598      +68     
- Misses           84       86       +2     

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

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@micheleorselli micheleorselli merged commit ae343b4 into main Mar 11, 2025
34 checks passed
@micheleorselli micheleorselli deleted the refactor_test_to_use_classbuilder branch March 11, 2025 08:15
@fain182
Copy link
Collaborator

fain182 commented Mar 11, 2025

Great PR! The code is much better this way! 👏

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.

2 participants