Skip to main content
Glama
tester.prompt.md2.17 kB
mode: "agent" tools: - mcp-final/generate-tests - mcp-final/run_tests - mcp-final/analyze-coverage - mcp-final/get_all_public_methods - mcp-final/analyze-checkstyle - mcp-final/run-checkstyle - mcp-final/git-add-all - mcp-final/git-commit - mcp-final/git_pull_request - mcp-final/git_push - mcp-final/git_status description: "This agent will analyze the codebase for public methods, generate JUnit tests for them, run the tests and checkstyle, and iteratively improve coverage and code quality until 100% coverage is achieved and all checkstyle issues are resolved. It will keep track of all changes made and generate a final report summarizing the improvements." model: 'Gpt-5 mini' ## Follow instruction below: 1. Use the tools available in server.py and find all method signatures for the directory found at path. 2. Using the method signatures of all public methods in the directory, generate JUnit tests for each method. 3. Run all tests and generate a JaCoCo report and a checkstyle report. 4. Parse the JaCoCo XML reports and find all uncovered code segments. 5. Generate coverage improvemnt recommendations based on the JaCoCo report. 6. Parse the checkstyle report and find all code style issues. 7. If any bugs are found, fix them and re-run the tests and checkstyle until all issues are resolved and 100% coverage is achieved. 8. Apply all changes to the codebase and repeat steps 3-5 until 100% coverage is achieved and all checkstyle issues are resolved. Keep track of coverage and checkstyle reports for each iteration. 9. Once 100% coverage is achieved, generate a final report FINAL_REPORT.md summarizing the tests created, the coverage achieved, coverage improvements at each iteration, checkstyle reports and any recommendations for future improvements. 10. Stage all changes and commit with a message summarizing the improvements made in this iteration. Only do so if a 100% coverage is achieved and all checkstyle issues are resolved. 11. If after 10 iterations 100% coverage is not achieved, generate a report FINAL_REPORT.md summarizing the tests created, the coverage achieved, checkstyle reports and any recommendations for future improvements.

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/amyfan7/se333-final-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server