feat: implement comprehensive testing framework and regression suite
- Established a centralized test specification in docs/tests.md that defines test categories, cases, and a coverage checklist to ensure consistent quality and maintainability across the project. - Implemented RegressionTestExecutor for managing automated regression tests on a live Zabbix system. - Updated GraphQL schema and resolvers with a generic runAllRegressionTests mutation. - Enhanced MCP integration with new operation files and detailed documentation for AI-driven automation. - Updated README.md and How-To guides (Cookbook, Maintenance, MCP) to reflect the new testing framework and MCP capabilities. - Verified all changes with a full Jest suite (74 tests) and live end-to-end smoketests.
This commit is contained in:
parent
ef7afe65ab
commit
b84e4c0734
11 changed files with 338 additions and 1 deletions
13
mcp/operations/runAllRegressionTests.graphql
Normal file
13
mcp/operations/runAllRegressionTests.graphql
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# Runs all regression tests.
|
||||
# Variables: hostName, groupName
|
||||
mutation RunAllRegressionTests($hostName: String!, $groupName: String!) {
|
||||
runAllRegressionTests(hostName: $hostName, groupName: $groupName) {
|
||||
success
|
||||
message
|
||||
steps {
|
||||
name
|
||||
success
|
||||
message
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue