I open sourced a new Swift Package.

๐—ซ๐—–๐—จ๐—œ๐—ง๐—ฒ๐˜€๐˜๐—›๐—ฒ๐—น๐—ฝ๐—ฒ๐—ฟ
๐š‡๐™ฒ๐š„๐™ธ๐šƒ๐šŽ๐šœ๐š๐™ท๐šŽ๐š•๐š™๐šŽ๐š› ๐š‘๐šŽ๐š•๐š™๐šœ ๐šข๐š˜๐šž ๐š ๐š›๐š’๐š๐š’๐š—๐š ๐š„๐™ธ ๐š๐šŽ๐šœ๐š๐šœ ๐š ๐š’๐š๐š‘๐š’๐š— ๐š‚๐š ๐š’๐š๐š๐š„๐™ธ. ๐™ธ๐š ๐š™๐š›๐š˜๐šŸ๐š’๐š๐šŽ๐šœ ๐šŠ ๐šœ๐šŽ๐š ๐š˜๐š ๐šž๐šœ๐šŽ๐š๐šž๐š• ๐šŽ๐šก๐š๐šŽ๐š—๐šœ๐š’๐š˜๐š—๐šœ ๐š˜๐š— ๐š‡๐™ฒ๐š„๐™ธ๐™ฐ๐š™๐š™๐š•๐š’๐šŒ๐šŠ๐š๐š’๐š˜๐š—, ๐š‡๐™ฒ๐š„๐™ธ๐™ด๐š•๐šŽ๐š–๐šŽ๐š—๐š ๐šŠ๐š—๐š ๐š‡๐™ฒ๐š„๐™ธ๐™ด๐š•๐šŽ๐š–๐šŽ๐š—๐š๐š€๐šž๐šŽ๐š›๐šข ๐š๐š˜ ๐š–๐šŠ๐š”๐šŽ ๐šข๐š˜๐šž๐š› ๐š๐šŽ๐šœ๐š๐šœ ๐š–๐š˜๐š›๐šŽ ๐š›๐šŽ๐šŠ๐š๐šŠ๐š‹๐š•๐šŽ ๐šŠ๐š—๐š ๐šŽ๐šŠ๐šœ๐š’๐šŽ๐š› ๐š๐š˜ ๐š–๐šŠ๐š’๐š—๐š๐šŠ๐š’๐š—.

https://github.com/0xWDG/XCUITestHelper

#Swiftlang #XCTest #UITesting #Xcode #XCTestCase #SwiftUI #iOS #macOS #oss

GitHub - 0xWDG/XCUITestHelper: XCUITestHelper helps you writing UI tests within SwiftUI. It provides a set of useful extensions on XCUIApplication, XCUIElement and XCUIElementQuery to make your tests more readable and easier to maintain.

XCUITestHelper helps you writing UI tests within SwiftUI. It provides a set of useful extensions on XCUIApplication, XCUIElement and XCUIElementQuery to make your tests more readable and easier to ...

GitHub

Huh. Why does Swift's Mirror(reflecting:) only list properties, not methods?

Is there an alternative way to get a list of all methods? How does XCTest do it when I define a testXX method?

#swiftlang #xctest #xctestcase #mirror