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

Migrate to Swift Testing #58

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Migrate to Swift Testing #58

wants to merge 3 commits into from

Conversation

Supereg
Copy link
Member

@Supereg Supereg commented Mar 9, 2025

Migrate to Swift Testing

♻️ Current situation & Problem

This PR migrates the project to use Swift Testing for unit testing.

⚙️ Release Notes

  • Migrate to Swift Testing.

📚 Documentation

--

✅ Testing

--

📝 Code of Conduct & Contributing Guidelines

By creating and submitting this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

@Supereg Supereg requested a review from PSchmiedmayer March 9, 2025 15:18
@Supereg Supereg linked an issue Mar 9, 2025 that may be closed by this pull request
1 task
Copy link
Member

@PSchmiedmayer PSchmiedmayer left a comment

Choose a reason for hiding this comment

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

Thank you for all the work here; hope this will also fix the Swift Package Index deployment errors that are currently also throwing an error here.

Copy link

codecov bot commented Mar 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.44%. Comparing base (e2600a2) to head (9279d11).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #58      +/-   ##
==========================================
- Coverage   81.02%   80.44%   -0.58%     
==========================================
  Files         115      115              
  Lines        6327     6327              
==========================================
- Hits         5126     5089      -37     
- Misses       1201     1238      +37     
Files with missing lines Coverage Δ
...peziBluetooth/CoreBluetooth/BluetoothManager.swift 82.05% <ø> (ø)
...ces/Characteristics/BloodPressureMeasurement.swift 95.34% <ø> (ø)
...Services/Characteristics/MeasurementInterval.swift 96.16% <ø> (ø)
...SpeziBluetoothServices/Characteristics/PnPID.swift 80.65% <ø> (ø)
...RecordAccess/RecordAccessResponseFormatError.swift 100.00% <ø> (ø)
...vices/Characteristics/TemperatureMeasurement.swift 94.67% <ø> (ø)
...oothServices/Characteristics/TemperatureType.swift 97.44% <ø> (ø)
...etoothServices/Characteristics/Time/DateTime.swift 94.83% <ø> (ø)
...eziBluetoothServices/TestingSupport/EventLog.swift 77.22% <ø> (ø)

... and 9 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e2600a2...9279d11. Read the comment docs.

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

@Supereg Supereg enabled auto-merge (squash) March 10, 2025 18:03
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.

Migrate to Swift Testing from XCTest
2 participants