Establish the Agentic Writing Environment: an Xcode project (filesystem-synchronized groups) with a minimal SwiftUI app shell on macOS 26.5+, Swift 6, default MainActor isolation. Unit and UI smoke tests pass via xcodebuild. Repo tooling: SwiftFormat/SwiftLint configs, Gitea Actions CI (dormant until a macOS runner registers), GPL-3.0-or-later license, CITATION.cff, README, CHANGELOG, and a DOX AGENTS.md tree with ADRs 0001-0003 (stack, license, forge).
851 B
851 B
MuseionTests
Purpose
Unit tests for the Museion application target, hosted in the app process (TEST_HOST).
Ownership
Owned by the root AGENTS.md contract.
Local Contracts
- Uses Swift Testing (
@Test,#expect) — not XCTest. - Imports
@testable import Museion; app code is default-MainActor, so cross-actor tests need@MainActoror nonisolated declarations in app code. - Deployment target and versions follow the app target; leave
CURRENT_PROJECT_VERSION = 1here.
Work Guidance
- Non-trivial logic leaves one runnable check behind: the smallest test that fails if the logic breaks. No fixtures or per-function suites unless asked.
Verification
xcodebuild -project Museion.xcodeproj -scheme Museion -destination 'platform=macOS' -only-testing:MuseionTests test
Child DOX Index
- None — flat directory.