I'm trying to perform a set of unit tests, which require different network connection statuses. Short of the user having to perform a bunch of steps along the way, I was wondering if there was a way to simulate conditions under a certain network connection.
I'm using AFNetworkConnectionManager to check the connection status, but it's networkConnectionStatus is a readonly property.
Aucun commentaire:
Enregistrer un commentaire