xctest-ui-test-generator

Solid

Generate XCTest UI tests for macOS applications with accessibility identifiers and page object patterns

AI & Automation 1,160 stars 71 forks Updated today MIT

Install

View on GitHub

Quality Score: 94/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
86
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# xctest-ui-test-generator Generate XCTest UI tests for macOS applications. This skill creates UI test classes with accessibility identifiers, page object patterns, and proper test organization. ## Capabilities - Generate XCUITest test classes - Create page object pattern implementations - Set up accessibility identifiers - Generate test data factories - Configure UI test schemes - Create screenshot capture helpers - Set up performance testing - Generate test plans ## Input Schema ```json { "type": "object", "properties": { "projectPath": { "type": "string" }, "targetViews": { "type": "array" }, "usePageObjects": { "type": "boolean", "default": true }, "generateAccessibilityIds": { "type": "boolean", "default": true } }, "required": ["projectPath"] } ``` ## Generated Test Class ```swift import XCTest final class MainViewUITests: XCTestCase { var app: XCUIApplication! override func setUpWithError() throws { continueAfterFailure = false app = XCUIApplication() app.launchArguments = ["--uitesting"] app.launch() } func testMainViewLoads() throws { let mainView = app.windows["MainWindow"] XCTAssertTrue(mainView.waitForExistence(timeout: 5)) let titleLabel = mainView.staticTexts["welcomeLabel"] XCTAssertTrue(titleLabel.exists) XCTAssertEqual(titleLabel.label, "Welcome") } func testNavigationToSettings() throws { app.menuItems["Preferences…"].cl...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

Testing & QA Listed

ios-testing

iOS testing expert skill covering Swift Testing framework (@Test, #expect, #require, @Suite, parameterized tests, traits), XCTest (assertions, async testing, performance testing, XCTestExpectation), UI Testing (XCUIApplication, XCUIElement, Page Object pattern, accessibility identifiers), snapshot testing (swift-snapshot-testing), mocking strategies (protocol-based mocks, URLProtocol for network, test doubles), and testing patterns for SwiftUI, SwiftData, Combine, and async/await code. Use this skill whenever the user writes tests, creates test classes, needs mocking strategies, or asks about testing iOS code. Triggers on: test, @Test, #expect, XCTest, XCTestCase, unit test, UI test, integration test, mock, stub, spy, fake, snapshot test, test coverage, TDD, testing, assert, XCTAssert, Swift Testing, @Suite, parameterized test, test plan, test double, URLProtocol mock, ViewInspector, or any iOS testing question.

0 Updated today
ebbaunqualified520
AI & Automation Solid

swiftui-view-generator

Generate SwiftUI views with proper state management (@State, @Binding, @ObservedObject, @StateObject) and macOS-specific patterns

1,160 Updated today
a5c-ai
Code & Development Listed

macos-e2e-scaffold

One-shot XCUITest scaffolding for macOS SwiftUI apps. Audits the project, generates ranked TIER-1/2/3 test stubs, suggests accessibility identifiers with batch confirmation, and emits a Claude-readable xcresult runner script. Manual invocation only — modifies project files.

2 Updated today
Paretofilm
Testing & QA Solid

swift-testing

Swift testing: XCTest, Swift Testing framework, async patterns.

392 Updated today
notque
Testing & QA Solid

qt-test-fixture-generator

Generate Qt Test fixtures with mock QObject signals and slots, data-driven tests, and GUI testing setup

1,160 Updated today
a5c-ai