Posts tagged with "testing".

UI Testing and NSScrollView

A short solution for UI tests that need to interact with off-screen elements inside `NSScrollView`.

Inverted Expectations

A pattern for asserting that something did *not* happen in tests, and how to write reliable inverted expectations.

Quick TCP Server Using NSSocketPort

How to use `NSSocketPort` to spin up a simple TCP server for testing without adding heavyweight dependencies.

Managing iOS UI Testing Fixtures

Practical techniques for creating and sharing deterministic fixtures for iOS UI tests, helping avoid flakiness and sandboxing pitfalls.