Skip to content

Glossary: SwiftUI

@testable import

Also written: @testable

An import that lets the test target see the app's own types, which are otherwise hidden because the app is a separate module.

Where the book teaches it

Related terms

Swift Testingtargetmodule