Repository navigation
NnTestKit 2.2.1
Documentation and tooling release. No public API changes — the only Sources/ edits are doc comments.
The skill now lives in this repo
The NnTesting skill moved from the NobadiScripts marketplace into Skills/NnTesting, and is published through nn-swift-skills pinned to this tag.
It documented an API in a different repo, so nothing made the two change together — a convention spanning a repo boundary has no enforcement point. Co-locating them makes the API change and the doc change the same diff.
Added
.github/workflows/skill-docs.yml— fails any PR touching apublic/open/packagedeclaration underSources/without touchingSkills/. Waive with theskip-skill-checklabel when a PR changes no documented behavior..github/workflows/skill-ref-bump.yml— bumps the marketplace's pinnedrefon tag push, so released docs always match a shipped version.- README coverage for 2.2.0's API, which shipped undocumented:
observationStream(of:),expectObservationFires,Published.Publisher.waitUntil, andselectTime.
Fixed
Documentation only — all of these described behavior the code hasn't had since 2.1.0 or earlier.
| Claim | Reality |
|---|---|
| README badge: iOS 15+ / macOS 12+ | iOS 17+ / macOS 13+ |
waitForElement, elementAppeared, elementNotAppeared, deleteRow default to 3s (README and doc comments) |
UITestSeedDefaults.timeout, 10s, since 2.1.0 |
typeInField parameter shouldTapFieldBeforeTyping |
tapFieldBeforeTyping |
selectDate can only change day, or month and day |
selectTime also exists |
CLAUDE.md: @LeakTracked on a struct |
Generates a deinit; requires a class |
Also: broken table-of-contents anchor, and assorted prose typos.
waitForCondition in NnTestHelpers still documents a 3-second default — that one is correct and was left alone.
Upgrading
Nothing to do. No source-compatible change; from: "2.2.0" already resolves here.