Skip to content

Commit 2a4ed4f

Browse files
committed
adds skeleton for invoking test generation and UI
1 parent 535ef4c commit 2a4ed4f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
from agents.agent import Agent
2+
from examples.hackathon.types import TestCase
3+
4+
5+
def add_method(cls):
6+
def decorator(func):
7+
setattr(cls, func.__name__, func)
8+
return func
9+
return decorator
10+
11+
@add_method(Agent)
12+
def generate_tests(self, test_cases: list[TestCase]):
13+
pass

0 commit comments

Comments
 (0)