Category "xctest"

Xcode template doesn't pick the variable from popup

I'm writing an XCode template. Everything works perfectly fine if I use text value for the variable: <dict> <key>Identifier</key&

Unit Testing Combine

I'm having difficulties testing Combine. I'm following: https://www.swiftbysundell.com/articles/unit-testing-combine-based-swift-code/ Which tests: final class

Using Foundation Decimal type in XCTAssertEqual

I am building some classes and code that store and perform arithmetic on currency values. I was originally using Doubles, but converted to Decimal due to arithm

UI Testing failure - App state is XCApplicationStateRunningActive not XCApplicationStateNotRunning

I am using XCUI tests to automate testing of some of the flows in our application (~35 test scenarios) with Xcode 7.2.1 Running these tests locally will consis

Testing storyboard from within Swift Package

In the middle of factoring code from an app into a swift package and ran into a weird issue while adding test coverage. I reference the app's main storyboard in

XCTest How to tap on Url (Link) inside UITextview?

I have added accessibilityIdentifier to the source code. And did: let privacypolicyurl = app.tables.textViews["privacyPolicy"] privacypolicyurl.tap() And

XCTest: Wait for async call to finish in synchronous function

I have a synchronous function that calls an asynchronous sub function. Now I want to test that the synchronous function sets a property. I've seen many examples