elementary icon indicating copy to clipboard operation
elementary copied to clipboard

Overhaul `@Case` and `Cases` to `@Label` and `Labels`

Open Pante opened this issue 3 years ago • 1 comments

This PR overhauls the existing @Case and Cases classes as discussed in #141. It contains several significant (breaking) changes to the API. Nevertheless, it should provide far superior ergonomics compared to the existing API.

Instead of deprecating and keeping @Case , a migration guide between Elementary 1.0.X to Elementary 2.0.X is provided.

Pante avatar Oct 31 '22 05:10 Pante

Codecov Report

Base: 45.82% // Head: 46.00% // Increases project coverage by +0.18% :tada:

Coverage data is based on head (484b730) compared to base (71bd2db). Patch coverage: 82.05% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #164      +/-   ##
============================================
+ Coverage     45.82%   46.00%   +0.18%     
+ Complexity      219      218       -1     
============================================
  Files            35       35              
  Lines          1017     1026       +9     
  Branches         97       99       +2     
============================================
+ Hits            466      472       +6     
- Misses          531      533       +2     
- Partials         20       21       +1     
Impacted Files Coverage Δ
...in/java/com/karuslabs/elementary/junit/Labels.java 80.00% <80.00%> (ø)
...com/karuslabs/elementary/junit/DaemonCompiler.java 95.45% <100.00%> (ø)
...ain/java/com/karuslabs/elementary/junit/Tools.java 41.66% <100.00%> (ø)
...com/karuslabs/elementary/junit/ToolsExtension.java 85.71% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

codecov[bot] avatar Oct 31 '22 05:10 codecov[bot]