OHHTTPStubs v4.2.0 Release Notes
-
- The
OHHTTPStubs
spec has been splitted into multiple subspecs:- The default subspec (used when you simply use
pod 'OHHTTPStubs'
in yourPodfile
) contains the subspecsCore
,NSURLSession
,JSON
&OHPathHelpers
(so that it matches the features that most people use). - Other optional subspecs are
HTTPMessage
andMocktail
(which are opt-in because used by much less people). If you want to use them, you'll need to request them explicitly in yourPodfile
usingpod 'OHHTTPStubs/Mocktail
for example.
- The default subspec (used when you simply use
- ✅ The iOS Unit Tests are now also run for the framework as well as for the static library, to ensure the tests pass in both contexts (because frameworks sometimes introduce subtleties like when using
NSBundle
, so it's worth testing in that context too) - ➕ Added support for stubs written in the Mocktail format.
@JinlianWang #108
- The