-
Notifications
You must be signed in to change notification settings - Fork 28
API tester agent - Submission agent for #QodoAgentChallenge #44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||||||||
User description
API tester agent will create for all API or one API reading the open api documentation with option to include negative scenarios
The parameters are:
Example:
qodo api_test_plan
--set swagger_url="https://petstore.swagger.io/v2/swagger.json"
--set single_api="POST /pet"
--set include_negative_tests=true \
--set output_dir="Pet/Tests"
PR Type
Enhancement, Documentation
Description
Added comprehensive OpenAPI 3.0.4 specification for the Effiziente API with 30+ endpoints and complete schema definitions
Implemented
api_test_plancommand to analyze Swagger specs and generate comprehensive test plans with positive/negative scenariosImplemented
api_test_createcommand to generate production-ready RestAssured.Net C# test code from Swagger specificationsConfigured API tester agent with detailed instructions for Swagger parsing, authentication handling, and schema constraint extraction
Added comprehensive documentation for API Tester Agent including usage examples, parameter descriptions, and troubleshooting guide
Added repository guidelines and architecture documentation covering project structure, coding standards, and workflows
Diagram Walkthrough
File Walkthrough
swagger.json
OpenAPI specification for Effiziente collection management APIswagger.json
Companies, Menu, Page, ParameterByCompany, Server, Users)
(DTOs, entities)
agent.toml
API tester agent configuration with test plan and code generationagents/api-tester/agent.toml
api_test_plancommand to analyze Swagger specs and generatecomprehensive test plans with positive/negative scenarios
api_test_createcommand to generate production-readyRestAssured.Net C# test code from Swagger specifications
parsing, test generation, authentication handling, and schema
constraint extraction
filesystem operations, and auto-fix compilation error handling
README.md
API Tester Agent documentation and usage guideagents/api-tester/README.md
for both
api_test_planandapi_test_createcommandsinstructions for generated tests
integration, and single endpoint testing
authentication and test data management
AGENTS.md
Add comprehensive repository guidelines and architecture documentationAGENTS.md
guidelines, project structure, and architecture overview
guidelines, and commit/PR standards
agents organization and community contributions
workflows, and security considerations