donmichael41 / Chat-App

Demo as MVVM + RxSwift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chat-App

Demo as MVVM + RxSwift

To run unit test from command line:

  • cd to foder then run the cml bellow. "xcodebuild test -workspace 'ChatApp.xcworkspace' -scheme 'ChatApp' -destination 'platform=iOS Simulator,name=iPhone 7,OS=10.1'"

To enable code coverage

  • Edit Scheme, in Test chosse tab Infor. Select Gather coverage data.
  • Run unit from Xcode by Cmd + u, after test finish choose report navigator, chosse lastest test then see the Coverage in the right.

To run UI test

  • Run unit test as normal
  • After unit test done, notice the device is runnign UI test.

About

Demo as MVVM + RxSwift


Languages

Language:Swift 93.8%Language:Ruby 6.2%