ryanw-mobile / OctoMeter

🔥Kotlin Multiplatform Desktop/Android/iOS Energy Tracker app
Other
126 stars 10 forks source link

(#205) Phase out kotest assertions and introduce Kotlin Power Assert #216

Closed ryanw-mobile closed 3 months ago

ryanw-mobile commented 3 months ago

This closes #205 and #215 .

Removed all Kotest assertion instances. Added Kotlin Power Assert plugin - nothing changed in the test code, just run the test using the AS plugin or ./gradlew :composeApp:desktopTest --info to print the extra assertion error

codacy-production[bot] commented 3 months ago

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
:white_check_mark: +0.00% (target: -1.00%) :white_check_mark: ∅
Coverage variation details | | Coverable lines | Covered lines | Coverage | | ------------- | ------------- | ------------- | ------------- | | Common ancestor commit (740e37ceeabfa4201ff9c22ed5f173aacdeb909a) | 1742 | 869 | 49.89% | | | Head commit (99f405ecf9340bef6df421035a64626f0cacaa17) | 1742 (+0) | 869 (+0) | 49.89% (**+0.00%**) | **Coverage variation** is the difference between the coverage for the head and common ancestor commits of the pull request branch: ` - `
Diff coverage details | | Coverable lines | Covered lines | Diff coverage | | ------------- | ------------- | ------------- | ------------- | | Pull request (#216) | 0 | 0 | **∅ (not applicable)** | **Diff coverage** is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: `/ * 100%`

See your quality gate settings    Change summary preferences


:rocket: Don’t miss a bit, follow what’s new on Codacy.

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 46.51%. Comparing base (740e37c) to head (99f405e).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #216 +/- ## ======================================= Coverage 46.51% 46.51% ======================================= Files 92 92 Lines 1677 1677 Branches 237 237 ======================================= Hits 780 780 Misses 831 831 Partials 66 66 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.