This repository contains an iOS application developed using the MVVM-C (Model-View-ViewModel-Coordinator) architecture. Additionally, it includes unit tests for the application.
The project is organized as follows:
- UnitTest-MVVM-C-Example: Main project folder
- UnitTest-MVVM-C-Example: Main application source code
- UnitTest_MVVM_C_ExampleTests: Folder containing unit tests
- ...
- Clone this repository to your local machine.
- Open the
UnitTest-MVVM-C-Example.xcodeproj
file inside the main project folder using Xcode. - Build the project and run the application.
- Open a terminal and navigate to the project folder.
- Navigate to the
UnitTest_MVVM_C_ExampleTests
folder. - Run the command
xcodebuild test -scheme UnitTest_MVVM_C_ExampleTests -destination 'platform=iOS Simulator,name=iPhone 13'
to start the unit tests.
- Xcode Version 14.3
- iOS Version 15.0
- Swift Version 4.0