Spaces:
Runtime error
Runtime error
File size: 586 Bytes
40aba81 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
from roles.SoftwareTestEngineer import SoftwareTestEngineer
class TestModification:
def __init__(self):
self.tester = SoftwareTestEngineer()
def func_coding(self, assistant_role, error_summary, test_reports, codes, language):
"""
Modifies tests based on error summaries.
"""
if assistant_role != "Programmer":
raise ValueError("Invalid role for test modification")
modified_tests = self.tester.modify_tests(error_summary, test_reports, codes, language)
return {
"output": modified_tests
} |