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.
Germany
Slovakia
Canada
Brazil
Singapore
Hungary
Philippines
Mexico
Thailand
Ukraine
Luxembourg
Estonia
Lithuania
Norway
Chile
United States
Great Britain
India
Spain
South Korea
Ecuador
Colombia
Taiwan
Switzerland
Indonesia
Cyprus
Denmark
Finland
Poland
Malta
Czechia
New Zealand
Austria
Turkey
France
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Malaysia
South Africa
Netherlands
Bulgaria
Latvia
Australia
Japan
Russia