/NYTimesMostPopularArticlesSwiftUI

NYTimesMostPopularArticlesSwiftUI

Primary LanguageSwift

How to run the code:

This project doesn't use any external library, so you can run the project without importing anything external. Make sure you have latest Xcode simply by tapping the run button. As shown in the screenshot:

Screenshot 2024-05-03 at 6 52 35 PM

Here is a video demo:

Screen.Recording.2024-05-03.at.4.31.04.PM.mp4

How to run unit tests:

There are a few ways to run the unit tests. What I find easy is this one, first going to Test Navigator from the section in left (see screenshot) and then running the unit test package.

Screenshot 2024-05-03 at 6 53 49 PM

Tests Coverage:

Please note that some of these files are UI related which I have not included in writing the unit tests for.

Screenshot 2024-05-03 at 7 17 30 PM