- Notifications
You must be signed in to change notification settings - Fork3
Mocka — A Mock Server Made for Developers by Developers, made in Swift ❤️
License
wise-emotions/mocka
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Getting Mocka •Features •Usage Requirements •Build Requirements •Development •Known Issues •Wanted Features •Changelog •Communication •Contributing •License
Mocka — A Mock Server for Developers by Developers, made with Swift ❤️.
You can find the latest versionhere.
Otherwise, to build it yourself or to contribute, look at theDevelopment section for more information.
Here is the list of the most important currently implemented features:
- Server section with a list for all the network exchanges automatically updated
- API Editor included in the app
- Console section with a list for all the logs automatically updated
- Wildcard components in order to be able to define
*paths - App fully written in Swift by using SwiftUI, Combine, and Vapor
If you want to see what's next, read theWanted Features section.
You can also go to theGitHub Project board to see the Mocka backlog.
| Mocka | macOS |
|---|---|
| 0.1.0 | 11.0 |
develop | 11.0 |
| Mocka | Swift | Xcode |
|---|---|---|
| 0.1.0 | 5.3...5.4 | 12.4...12.5 |
develop | 5.3...5.4 | 12.4...12.5 |
We currently useXcodeGen in order to generate the.xcodeproj file.To installXcodeGen you will also needbrew. If you currently don't have those software installed on your Mac, they will be automatically installed at the first run ofsetup.sh.
Currently, thesetup.sh allows the following parameters:
closeto close the Xcode instanceformatto format all the code by usingswift-formatcleanto clean the derived data (at thebuildfolder) and it also run anxcodebuild cleancommandopento open the Xcode project
For example you can type:./setup.sh close clean open to close the current Xcode instance, clean the project, and open the newly generated one.
testIsWorkspaceURLValidReturnsFalseForMissingServerConfigurationinTests/AppTests/SettingsLogic+Test.swiftUnit Test sometimes fails
If you find other issues, pleaseopen a bug report.
If you would like to fix a bug, please follow theContributing section.
The following list is not ordered, if you would like to see what will be included in the next release of Mocka, look at theGitHub Project board.
- Custom 4xx and 5xx Errors Support
- Automatic Updates
- Per-API Delay
- Allow Multiple Responses
- Responses Based on Query or Body
- Automatic Mock Data Generator
- Include SwiftGen for Localization
- Log Export
- Use SwiftNIO instead of Vapor
- Swagger Import
- Command Line Support
If you you would like to request another feature, pleaseopen a feature request.
If you would like to add a feature, please follow theContributing section.
To see what has changed in recent versions of Mocka, see theCHANGELOG.md file.
- If you need help, open an issue.
- If you find a bug, open an issue.
- If you have a feature request, open an issue.
- If you want to contribute, seeContributing section.
SeeCONTRIBUTING.md file.
Mocka is available under the MIT license. See theLICENSE file for more info.
About
Mocka — A Mock Server Made for Developers by Developers, made in Swift ❤️
Topics
Resources
License
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.
Contributors6
Uh oh!
There was an error while loading.Please reload this page.
