Skip to content

test(graphics): Migrate specs to Swift Testing - #455

Merged
philprime merged 1 commit into
mainfrom
philprime/test/swift-testing-graphics
Oct 10, 2026
Merged

philprime merged 1 commit into
mainfrom
philprime/test/swift-testing-graphics

Conversation

@philprime

Copy link
Copy Markdown
Member

Migrate graphics specs to Swift Testing using Arrange-Act-Assert and descriptive scenarios. Preserve line styles, separator layout/equality, color tolerances, and resizing, compression, rounding, and image-identity coverage.

Replace the embedded GIF with the same bytes in an SPM test resource. Remove obsolete allTests registrations and the empty line-type spec.

Verification

Focused tests, make test-macos, make lint, and git diff --check passed. The testing flag was restored. macOS only was tested locally. CoreData NSXPCConnection diagnostics remain present in both baseline and migrated full runs, without test failures.

Scope

Independent migration based directly on main, with no dependency on the other migration PRs. Quick/Nimble dependency removal is deferred until the whole suite has migrated.

@philprime
philprime marked this pull request as ready for review October 10, 2026 10:47
@philprime
philprime enabled auto-merge (squash) October 10, 2026 10:47
@github-actions

Copy link
Copy Markdown
Warnings
⚠️ The Package.swift was updated, but there were no changes in TPPDF.podspec, Package.resolved. Did you forget to update them?

Generated by 🚫 Danger Swift against e3bd7e7

@philprime
philprime merged commit 3f557d0 into main Oct 10, 2026
10 checks passed
@philprime
philprime deleted the philprime/test/swift-testing-graphics branch October 10, 2026 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant