MockServer-Driven Testing (MSDT) is a methodology for developing automated UI tests, which is a custom branch of the Test Driven Development (TDD) methodology.
The main idea is:
- to create a mock server that completely replaces the real backend
- to cover the features supported by a mock server with automated UI tests
- Open
TestMockServer.xcodeproj
- Run the test in
NativeMockServerUITests
target
-
Install
ruby
gem:gem install sinatra
-
Start the mock server:
ruby standalone_mock_server.rb
-
Open
TestMockServer.xcodeproj
-
Run the test in
StandaloneMockServerUITests
target