https://github.com/testableapple/mockserver-driven-testing
MockServer-driven testing methodology
https://github.com/testableapple/mockserver-driven-testing
Last synced: 3 days ago
JSON representation
MockServer-driven testing methodology
- Host: GitHub
- URL: https://github.com/testableapple/mockserver-driven-testing
- Owner: testableapple
- License: mit
- Created: 2022-09-04T15:06:12.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-13T16:30:57.000Z (over 2 years ago)
- Last Synced: 2025-01-13T07:42:11.794Z (over 1 year ago)
- Language: Swift
- Homepage: https://testableapple.com/native-mock-server-inside-xctest/
- Size: 179 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MockServer-driven testing
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

## POC
### Native Mock Server
#### Usage
1. Open `TestMockServer.xcodeproj`
2. Run the test in `NativeMockServerUITests` target
### Standalone Mock Server
#### Usage
1. Install `ruby` gem:
```bash
gem install sinatra
```
2. Start the mock server:
```bash
ruby standalone_mock_server.rb
```
3. Open `TestMockServer.xcodeproj`
4. Run the test in `StandaloneMockServerUITests` target