mirror of
https://github.com/efremidze/swift-architecture-skill.git
synced 2026-09-14 20:49:06 +08:00
3a998f6407
Move the evals/ and scripts/ trees into tooling/ (tooling/evals, tooling/scripts) and update all references accordingly. Adjusted CI workflow, docs (AGENTS.md, CONTRIBUTING.md, evals README), manifests and runner scripts to use the new paths, updated .gitignore, and fixed script path resolution (parents index and ROOT_DIR adjustments) so tooling runs and validations continue to work from their new location.
523 B
523 B
Benchmark: Missing Dependency Control (Should Fail Semantic)
Testing Strategy
Validate success, failure, and cancellation behavior. Use deterministic timing and avoid sleeps.
import XCTest
final class MissingDependencyControlTests: XCTestCase {
func test_success_path() {
XCTAssertTrue(true)
}
func test_failure_path() {
let now = Date()
XCTAssertEqual(now, now.addingTimeInterval(1))
}
func test_cancellation_path() {
XCTAssertTrue(true)
}
}