Skip to content

"Best Way to Write Unit Tests to Network Requests", the second topic of the Advanced iOS series, where I cover advanced iOS Development topics.

License

Notifications You must be signed in to change notification settings

Bugrayenidunya/Unit-Test-Network-Request

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Unit-Test-Network-Request

"Best Way to Write Unit Tests to Network Requests", the second topic of the Advanced iOS series, where I cover advanced iOS Development topics. You can found related article here

Table Of contents

  • Entry level of writing unit tests for network requests
  • What is a URLProtocol?
  • What is the best way of writing unit tests to network requests?
  • Creating a MockURLProtocol
  • Writing Unit Test using MockURLProtocol

Usage

You don't need any special configuration. Just clone project or download to zip file and run the project.

Requirements

  • iOS 15.5+
  • Swift 5+
  • Xcode 13+

Author

Enes Buğra Yenidünya - [email protected]

About

"Best Way to Write Unit Tests to Network Requests", the second topic of the Advanced iOS series, where I cover advanced iOS Development topics.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages