Skip to content

Latest commit

 

History

History
47 lines (28 loc) · 2.07 KB

README.md

File metadata and controls

47 lines (28 loc) · 2.07 KB

Dasty: Declarative API Scenario Testing in YAML

Dasty Logo

Dasty is a Python package designed to simplify the process of testing APIs by allowing tests to be defined declaratively in YAML format. This approach makes API testing more accessible, maintainable, and efficient, especially for DevOps and full-stack development.

Features

  • Declarative Syntax: Define API tests in a simple, human-readable YAML format.
  • Benchmarking: Measure performance metrics like response time and payload size.
  • Flexible Test Scenarios: Support for various HTTP methods and validations.
  • Dynamic Variable Passing: Extract values from responses for use in subsequent steps.

For a complete list of features, see Detailed Features.

Quick Start

  1. Install Dasty:

    pip install dasty_api
  2. Write Your API Test Scenario: Create a YAML file defining your API tests. See Getting Started for examples.

  3. Run Your Scenario: Use ScenarioRunner for standard testing or Benchmarker for performance benchmarking.

Usage

For basic usage instructions and examples, refer to the Getting Started guide. For more advanced scenarios and detailed documentation, see Detailed Features.

Contributing

Contributions to Dasty are welcome! Please refer to our Contribution Guidelines for details on how to submit pull requests, report issues, or request features.

Support and Contact

For support or to contact the maintainers, please open an issue on our GitHub repository.

License

Dasty is released under the MIT License.


This README provides a brief yet comprehensive overview of Dasty, guiding users to detailed documentation while keeping the main page succinct. Remember to replace placeholders like GitHub repository URLs with actual links and add any other specific details relevant to your project.