corona-warn-app / cwa-app-ios

Native iOS app using the exposure notification framework from Apple. The CWA development ends on May 31, 2023. You still can warn other users until April 30, 2023. More information:
https://coronawarn.app/en/faq/#ramp_down
Apache License 2.0
1.68k stars 285 forks source link

Help wanted: Attempting to run tests only throws error #5031

Closed Ein-Tim closed 1 year ago

Ein-Tim commented 1 year ago

Avoid duplicates

Technical details

Describe the bug

When I attempt to run tests on my machine, I only get the error

cwa-app-ios/src/xcode/ENA/HealthCertificateToolkit/Tests/HealthCertificateToolkitTests/CertificateAccess/DigitalCovidCertificateAccessTests.swift:7:18 Module 'HealthCertificateToolkit' was not compiled for testing

Steps to reproduce the issue

  1. Download the source code of this repository
  2. Attempt to run any test (in my case I tried to run https://github.com/corona-warn-app/cwa-app-ios/blob/release/3.2.x/src/xcode/ENA/ENA/Source/Scenes/AppClosureNoticeDetails/__tests__/AppClosureNoticeDetailsViewModelTests.swift)
  3. See that Xcode only throws the above-mentioned error message

Expected behaviour

Xcode should run the tests and not throw an error message.

Possible Fix

No idea, I'm opening this issue because I hope to get some ideas on how to fix this from the community/developers (:


Internal Tracking ID: EXPOSUREAPP-14694

dsarkar commented 1 year ago

@Ein-Tim Dev team members are pretty much occupied with priority issues, please expect some delay in response regarding this ticket.

30mar commented 1 year ago

@Ein-Tim is the issue still reproducable? we fixed a problem with community build recently please check again.

Ein-Tim commented 1 year ago

I will cross check later

Ein-Tim commented 1 year ago

Can't reproduce.