Navigation

  • index
  • next |
  • Preacher 0.15.11 documentation »
  • Preacher: Web API Verification without Coding

Preacher: Web API Verification without Coding¶

https://img.shields.io/badge/python-3.7+-blue.svg https://badge.fury.io/py/preacher.svg https://circleci.com/gh/ymoch/preacher.svg?style=svg https://codecov.io/gh/ymoch/preacher/branch/master/graph/badge.svg https://img.shields.io/lgtm/grade/python/g/ymoch/preacher.svg

Preacher verifies API servers, which requests to API servers and verify the response along to given scenarios.

Test scenarios are written only in YAML declaratively, without coding. In spite of that, Preacher can validate your web API flexibly, which enables you to test using real (neither mocks nor sandboxes) backends.

  • Responses are analyzed jq or XPath queries

  • Validation rules are based on Hamcrest (implemented by PyHamcrest).

The User Guide¶

  • Introduction
    • Targets
    • Comparison to similar tools
    • License
  • Quickstart
    • Install
    • Verify Your API
    • Interpret Results
  • Frequently Used Options
    • Rich HTML Report
    • Control Console Outputs
    • Allowing Random Errors
    • Concurrent running
  • Advanced Usage
    • Default Test
    • Parameterized Test
    • Conditional Scenario
    • Ignore cases

The Reference Guide¶

  • Scenario Structure
    • Scenario
    • Case
    • Request
    • ResponseDescription
    • Description
    • Predicate
    • Parameter
  • Extraction
    • Grammer
    • Content Compatibility
  • Matcher
    • For Objects
    • For Comparable Values
    • For String Values
    • For Datetime Values
    • For Sequence Values
    • Logical Matchers
    • Custom matchers
  • Context
    • Contextual Value Usage
    • Define a Contextual Value
    • Predefined Contextual Values
  • YAML Tag
    • !argument: Define an argument
    • !include: Including other YAML files
    • !relative_datetime: Give a relative datetime value with a format
    • !context: Use a Contextual value
  • CLI Application
    • Arguments
    • Options
    • Environment Variables Interface

Table of Contents

  • Preacher: Web API Verification without Coding
    • The User Guide
    • The Reference Guide

Next topic

Introduction

This Page

  • Show Source

Quick search

Navigation

  • index
  • next |
  • Preacher 0.15.11 documentation »
  • Preacher: Web API Verification without Coding
© Copyright 2019, Yu Mochizuki. Created using Sphinx 4.3.2.