SpectoLabs/hoverfly
关于
面向开发者和测试人员的轻量级服务虚拟化、API 模拟与 API Mock 工具
系统与基础设施实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- -1
- 1个月
- 0
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
API simulations for development and testing
Hoverfly is a lightweight, open source API simulation tool. Using Hoverfly, you can create realistic simulations of the APIs your application depends on.
- Replace slow, flaky API dependencies with realistic, re-usable simulations
- Simulate network latency, random failures or rate limits to test edge-cases
- Extend and customize with any programming language
- Export, share, edit and import API simulations
- CLI and native language bindings for Java
- REST API
- Lightweight, high-performance, run anywhere
- Apache 2 license
Hoverfly is developed and maintained by iOCO Solutions.
Quickstart
Hoverfly Cloud
Hoverfly Cloud - API simulations as a service. Sign up here.
Contributing
Contributions are welcome!
To contribute, please:
- Fork the repository
- Create a feature branch on your fork
- Commit your changes, and create a pull request against Hoverfly's master branch
- In your pull request, include details regarding your change, i.e
- why you made it
- how to test it
- any information about testing you have performed
To read more about forking model, check out this link: forking workflow.
Setup for local development
Build
Install Go. You should follow the download and installation instructions for your OS from official Go website. If you have installed Go before using either
apt-getorhomebrew, you should uninstall those first.Clone the hoverfly project:
git clone https://github.com/SpectoLabs/hoverfly.git # or: git clone https://github.com/<your_username>/hoverfly.gitFinally you can run the build
cd hoverfly make build
Notice the binaries are in the target directory.
Test
You should be able to execute all unit and functional tests with:
make test
Some middleware tests may fail if you don't have ruby and python setup in your environment. If you are using Mac, you can install them with Homebrew:
brew install ruby
brew install python
License
Apache License version 2.0 See LICENSE for details.
Copyright (c) 2025 Hoverfly Cloud
探索相关项目
加载中…