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.
- 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.
-
Install Dasty:
pip install dasty_api
-
Write Your API Test Scenario: Create a YAML file defining your API tests. See Getting Started for examples.
-
Run Your Scenario: Use
ScenarioRunner
for standard testing orBenchmarker
for performance benchmarking.
For basic usage instructions and examples, refer to the Getting Started guide. For more advanced scenarios and detailed documentation, see Detailed Features.
Contributions to Dasty are welcome! Please refer to our Contribution Guidelines for details on how to submit pull requests, report issues, or request features.
For support or to contact the maintainers, please open an issue on our GitHub repository.
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.