Skip to content

Add the AppAuthTestHelpers product with a fake session - #992

Open
w-goog wants to merge 3 commits into
masterfrom
codegen/ocmock-appauth-3-fake-session
Open

w-goog wants to merge 3 commits into
masterfrom
codegen/ocmock-appauth-3-fake-session

Conversation

@w-goog

@w-goog w-goog commented Nov 2, 2026 •

Copy link
Copy Markdown
Collaborator

This PR adds an AppAuthTestHelpers Swift package product, for testing code built on AppAuth. The first addition is an OIDFakeExternalUserAgentSession, which records cancel / resume / fail calls instead of having to test with a real browser.

Providing canonical fakes is part of the effort to banish OCMock into the abyss.

(3.0.0 was the last pod, so, SPM-only target)

@w-goog
w-goog force-pushed the codegen/ocmock-appauth-3-fake-session branch from 427ac88 to d909671 Compare November 11, 2026 21:29
@w-goog
w-goog added this pull request to stack #995 November 11, 2026 21:35
@w-goog
w-goog force-pushed the codegen/ocmock-appauth-3-fake-session branch from d909671 to 387ea4c Compare November 11, 2026 22:23
@w-goog
w-goog force-pushed the codegen/ocmock-appauth-3-fake-session branch from 387ea4c to 78db604 Compare November 12, 2026 23:56
@w-goog
w-goog force-pushed the codegen/ocmock-appauth-3-fake-session branch 2 times, most recently from 5858bde to e245308 Compare November 13, 2026 01:31
Base automatically changed from codegen/ocmock-appauth-2-platform-instance-api to master November 16, 2026 22:25
@w-goog
w-goog force-pushed the codegen/ocmock-appauth-3-fake-session branch from e245308 to 3384c21 Compare November 16, 2026 23:20
@w-goog
w-goog requested review from mdmathias and removed request for mdmathias November 17, 2026 00:41
@w-goog

w-goog commented Nov 17, 2026

Copy link
Copy Markdown
Collaborator Author

Unrequested review, might make a few changes to the fake here.

This branch has not been deployed

No deployments
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