Skip to content

2.3.0 — Naming your stubs + debugging methods

Compare
Choose a tag to compare
@AliSoftware AliSoftware released this 17 Oct 22:09
· 653 commits to master since this release
  • Added the ability to give a name to a stub, for debugging purposes (property name of id<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.