In this chapter, you learned how to write tests for server-side Swift applications using the XCTest framework. Sample tests are provided in Vapor and Kitura boilerplate projects, giving you a head start in adding unit tests to your project. In addition, you learned how to run unit tests in Xcode and use the code coverage feature in Xcode to improve your code's overall coverage. Next, you learned about the logging frameworks in Vapor and Kitura, and then HTTP traffic monitoring tools, such as Postman and curl. These unit tests and debugging techniques for server-side Swift projects are useful as you develop complex server-side Swift projects in the next chapters.
United States
United Kingdom
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Argentina
Austria
Belgium
Bulgaria
Chile
Colombia
Cyprus
Czechia
Denmark
Ecuador
Egypt
Estonia
Finland
Greece
Hungary
Indonesia
Ireland
Italy
Japan
Latvia
Lithuania
Luxembourg
Malaysia
Malta
Mexico
Netherlands
New Zealand
Norway
Philippines
Poland
Portugal
Romania
Singapore
Slovakia
Slovenia
South Africa
South Korea
Sweden
Switzerland
Taiwan
Thailand
Turkey
Ukraine