Skip to content

Refactor few tests#1418

Merged
asolntsev merged 2 commits into
mainfrom
refactor/few-tests
Oct 31, 2024
Merged

Refactor few tests#1418
asolntsev merged 2 commits into
mainfrom
refactor/few-tests

Conversation

@asolntsev
Copy link
Copy Markdown
Collaborator

No description provided.

IDEA showed warnings about multiple tests that didn't contain any asserts.
+ occasionally, simplify the test itself :)
@asolntsev asolntsev self-assigned this Oct 31, 2024
@asolntsev asolntsev added the enhancement New feature or request label Oct 31, 2024
@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.25%. Comparing base (832116d) to head (cc4ecb3).
Report is 2 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1418      +/-   ##
============================================
- Coverage     92.32%   92.25%   -0.07%     
+ Complexity     3153     3151       -2     
============================================
  Files           319      319              
  Lines          6149     6149              
  Branches        591      591              
============================================
- Hits           5677     5673       -4     
- Misses          331      333       +2     
- Partials        141      143       +2     

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

@asolntsev asolntsev merged commit d5f4ffb into main Oct 31, 2024
@asolntsev asolntsev deleted the refactor/few-tests branch October 31, 2024 12:24
/**
* @author pmiklos
*/
@SuppressWarnings("removal")
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If something here is deprecated for removal why not address the issue now instead of waiting for it to fail in the future?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The deprecated class is DataFaker's own class DateAndTime.java.
And this DateAndTimeTest.java is the test for this deprecated class. :)
We still need this test until we finally delete both files.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh okay, I thought it was something in the Java base. Thanks for clarifying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants