2.3.0 — Naming your stubs + debugging methods
- Added the ability to give a name to a stub, for debugging purposes (property
name
ofid<OHHTTPStubsDescriptor>
) - Added
allStubs
method to list all installed stubs (with their name if they have one, see previous point) - Added
+[OHHTTPStubs onStubActivation:]
method to execute arbitrary code each time a stub is activated. Useful to log which stub is used for each request for example.