StackOverflow Questions for Tag: xctest

Sunil
Sunil

Reputation: 1

How to get CPU usage in percentage using XCTCPUMetric (which gives CPU Time in seconds)

Score: 0

Views: 7

Answers: 0

Read More
Pieter
Pieter

Reputation: 187

How can I mock network responses and state for UI tests using XCTest?

Score: -2

Views: 160

Answers: 3

Read More
SreekanthI
SreekanthI

Reputation: 443

How to Unit Test SwiftUI Views without ViewInspector?

Score: 1

Views: 1342

Answers: 2

Read More
Rob Bonner
Rob Bonner

Reputation: 9412

Why is XCTAssertTrue passing when it should fail

Score: -1

Views: 45

Answers: 1

Read More
Suragch
Suragch

Reputation: 512506

"No such module" when using @testable in Xcode Unit tests

Score: 235

Views: 135206

Answers: 36

Read More
bogen
bogen

Reputation: 10432

How to let the app know if it's running Unit tests in a pure Swift project?

Score: 133

Views: 58031

Answers: 18

Read More
brduca
brduca

Reputation: 3623

Cannot load underlying module for XCTest

Score: 189

Views: 82266

Answers: 15

Read More
John Twigg
John Twigg

Reputation: 7571

iOS XCTest take Screenshot

Score: 1

Views: 1514

Answers: 3

Read More
user185929
user185929

Reputation: 9

Running XCode tests (macOS app) turn on system dark mode unintentionally

Score: 0

Views: 42

Answers: 0

Read More
litbe
litbe

Reputation: 507

XCUIElement.typeText() fails for iPhone 13 mini

Score: 0

Views: 16

Answers: 0

Read More
mhergon
mhergon

Reputation: 1678

Swift static properties are not marked as covered by tests in SonarQube

Score: 0

Views: 45

Answers: 0

Read More
litbe
litbe

Reputation: 507

How do I simulate TouchID match in XCTest?

Score: 0

Views: 25

Answers: 0

Read More
Jintae
Jintae

Reputation: 53

Swift Mocking a throwing function

Score: 0

Views: 44

Answers: 0

Read More
n8m8
n8m8

Reputation: 41

List disconnected devices via Xcode CLI

Score: 2

Views: 695

Answers: 1

Read More
narner
narner

Reputation: 3221

Xcode UI Unit Tests and Permission Alerts

Score: 4

Views: 5371

Answers: 2

Read More
SeaJelly
SeaJelly

Reputation: 1746

Xcode 7 UI Testing: how to dismiss a series of system alerts in code

Score: 55

Views: 23389

Answers: 11

Read More
mazz0
mazz0

Reputation: 715

Can you run an XCTest only after another has completed (and if so, can it be conditional on the prior test passing)?

Score: 3

Views: 2928

Answers: 3

Read More
Solid Soft
Solid Soft

Reputation: 1932

Xcodebuild test-without-build not executing single test case

Score: 0

Views: 25

Answers: 0

Read More
lazarevzubov
lazarevzubov

Reputation: 2315

How to test predicate-based expectation with Swift Testing?

Score: 0

Views: 78

Answers: 1

Read More
Karishma Koul
Karishma Koul

Reputation: 23

How to calculate cpu usage of an APP in ios using swift latest version? I am on xCode 11 as of now

Score: 1

Views: 1691

Answers: 2

Read More
PreviousPage 1Next