Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Mocka — A Mock Server Made for Developers by Developers, made in Swift ❤️

License

NotificationsYou must be signed in to change notification settings

wise-emotions/mocka

Repository files navigation

Mocka Banner

VersionLanguagePlatformsLicense

Build StatusBuild Status


Getting MockaFeaturesUsage RequirementsBuild RequirementsDevelopmentKnown IssuesWanted FeaturesChangelogCommunicationContributingLicense


Mocka — A Mock Server for Developers by Developers, made with Swift ❤️.

☕️ Getting Mocka

You can find the latest versionhere.

Otherwise, to build it yourself or to contribute, look at theDevelopment section for more information.

🚀 Features

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.

💻 Usage Requirements

MockamacOS
0.1.011.0
develop11.0

⚙️ Build Requirements

MockaSwiftXcode
0.1.05.3...5.412.4...12.5
develop5.3...5.412.4...12.5

👩‍💻🧑‍💻 Development

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:

  • close to close the Xcode instance
  • format to format all the code by usingswift-format
  • clean to clean the derived data (at thebuild folder) and it also run anxcodebuild clean command
  • open to 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.

🐛 Known Issues

  1. testIsWorkspaceURLValidReturnsFalseForMissingServerConfiguration inTests/AppTests/SettingsLogic+Test.swift Unit Test sometimes fails

If you find other issues, pleaseopen a bug report.

If you would like to fix a bug, please follow theContributing section.

🌈 Wanted Features

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.

📃 Changelog

To see what has changed in recent versions of Mocka, see theCHANGELOG.md file.

📣 Communication

  • 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.

💥 Contributing

SeeCONTRIBUTING.md file.

📄 License

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

Stars

Watchers

Forks

Contributors6


[8]ページ先頭

©2009-2025 Movatter.jp