All Projects → caalberts → Localroast

caalberts / Localroast

Licence: mit
Mock a server for development and testing

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Localroast

mocat
🐈 Mocat is a mocking toolbar that allows you to interactively develop and test network requests.
Stars: ✭ 27 (-87.56%)
Mutual labels:  mock-server, testing-tools
karate
Test Automation Made Simple
Stars: ✭ 6,384 (+2841.94%)
Mutual labels:  mock-server, testing-tools
ruby-dns-mock
DNS mock server written on 💎 Ruby. Mimic any DNS records for your test environment with fake DNS server.
Stars: ✭ 50 (-76.96%)
Mutual labels:  mock-server, testing-tools
go-smtp-mock
SMTP mock server written on Golang. Mimic any 📤 SMTP server behavior for your test environment with fake SMTP server.
Stars: ✭ 76 (-64.98%)
Mutual labels:  mock-server, testing-tools
Karate
Test Automation Made Simple
Stars: ✭ 5,497 (+2433.18%)
Mutual labels:  testing-tools, mock-server
servirtium-java
Service Virtualized HTTP - to help service test automation stay fast and consistent
Stars: ✭ 16 (-92.63%)
Mutual labels:  mock-server, testing-tools
main
Mocks Server monorepo
Stars: ✭ 109 (-49.77%)
Mutual labels:  mock-server, testing-tools
Mitm Scripts
🔄 A collection of mitmproxy inline scripts
Stars: ✭ 109 (-49.77%)
Mutual labels:  testing-tools, mock-server
Mockttp
Powerful friendly HTTP mock server & proxy
Stars: ✭ 346 (+59.45%)
Mutual labels:  testing-tools, mock-server
Chn Eolinker Ams Lite 4.0 For Java
中国最大的API接口管理平台,3.x开源发行版,支持多国语言[英语、简体中文、繁体中文]
Stars: ✭ 275 (+26.73%)
Mutual labels:  testing-tools, mock-server
Sharingan
Sharingan(写轮眼)是一个基于golang的流量录制回放工具,适合项目重构、回归测试等。
Stars: ✭ 617 (+184.33%)
Mutual labels:  testing-tools, mock-server
Mockey
Mockey is a tool for testing application interactions over http, with a focus on testing web services, specifically web or native applications that consume XML, JSON, and HTML. Mockey's purpose is to be a simple front end to writing mock-test-responses to the file system for persistence to git.
Stars: ✭ 117 (-46.08%)
Mutual labels:  testing-tools, mock-server
Wflow
🐆 EXPERIMENTAL -- Runs GitHub Actions workflows locally (local) -- Don't run your YAML like a 🐪
Stars: ✭ 187 (-13.82%)
Mutual labels:  local-development
Charlatan
Go Interface Mocking Tool
Stars: ✭ 195 (-10.14%)
Mutual labels:  testing-tools
Tork
💞 Tests your Ruby code, in parallel, as you change it
Stars: ✭ 185 (-14.75%)
Mutual labels:  testing-tools
Rstest
Fixture-based test framework for Rust
Stars: ✭ 182 (-16.13%)
Mutual labels:  testing-tools
Testdeck
Object oriented testing
Stars: ✭ 206 (-5.07%)
Mutual labels:  testing-tools
Allure Docker Service
This docker container allows you to see up to date reports simply mounting your "allure-results" directory in the container (for a Single Project) or your "projects" directory (for Multiple Projects). Every time appears new results (generated for your tests), Allure Docker Service will detect those changes and it will generate a new report automatically (optional: send results / generate report through API), what you will see refreshing your browser.
Stars: ✭ 194 (-10.6%)
Mutual labels:  testing-tools
Botium Core
The Selenium for Chatbots - Bots Testing Bots
Stars: ✭ 181 (-16.59%)
Mutual labels:  testing-tools
Killgrave
Simple way to generate mock servers written in Go
Stars: ✭ 180 (-17.05%)
Mutual labels:  mock-server

Localroast

CircleCI codecov Go Report Card

localroast

Overview

Localroast quickly stubs a HTTP server. It takes a JSON file with a list of paths and stub responses. Changes are autoloaded. Use it to develop and test an API client.

localroast demo

Installation

From brew:

brew install caalberts/tap/localroast

From source:

go get -u github.com/caalberts/localroast

Usage

localroast examples/stubs.json

The command takes a single argument, a path to a JSON file. The JSON file must be a JSON array containing endpoint definitions. Each endpoint is represented as a JSON object with keys method, path, status and response. response can be any valid JSON object.

[
  {
    "method": "GET",
    "path": "/",
    "status": 200,
    "response": {
        "success": true
    }
  }
]

See examples/stubs.json for more.

Features

  • [x] json input
  • [x] path variable
  • [x] autoload file changes
  • [ ] yml input
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].