Skip to content

Commit d58b4da

Browse files
committed
feat: Add CHAT-ASSIST — VendorChatAssistant & CoPilotAssistant Unit Tests (CD001,#27, Bug_186-Bug_201)
- 177 unit tests covering init, prompts, tool definitions, masking, workflow dispatch, injection resistance, and boundary values - 5 intentionally failing tests document open bugs: Bug_186 #407, Bug_187 #408, Bug_188 #409, Bug_189 #410, Bug_190 #411 - Boundary tests document open bugs: Bug_194 #415, Bug_195 #416, Bug_196 #417, Bug_197 #418, Bug_198 #419 - Prompt consistency findings: Bug_199 #442, Bug_200 #443, Bug_201 #452
1 parent 441a841 commit d58b4da

3 files changed

Lines changed: 3451 additions & 0 deletions

File tree

tests/plugins/google_sheets_reporter/pytest_google_sheets.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
EVENT_DRIVEN_CTF = 'Event Driven CTF'
2626
MULTI_DB_SUPPORT = 'Multi-DB-Support'
2727
REDIS_MESSAGE_STREAMS = 'Redis Message Streams'
28+
CHAT_ASSISTANT = 'AI_Assistant'
2829

2930

3031
class GoogleSheetsReporter:
@@ -223,6 +224,7 @@ def detect_test_category(item) -> str:
223224
path_worksheet_map = {
224225
'complete_user_isolation': COMPLETE_USER_ISOLATION,
225226
'redis_message_streams': REDIS_MESSAGE_STREAMS,
227+
'test_chat_assistant': CHAT_ASSISTANT, # must come before generic 'agents'
226228
'specialized': SPECIALIZED_BUSINESS_AGENT,
227229
'agents': BASE_AGENT_FRAMEWORK,
228230
'isolation': ISOLATION_TESTING_FRAMEWORK,
@@ -265,6 +267,7 @@ class GoogleSheetsPlugin:
265267
LLM_OLLAMA_CLIENT,
266268
LLM_OPENAI_CLIENT,
267269
LLM_CONTEXTUAL_CLIENT,
270+
CHAT_ASSISTANT,
268271
}
269272

270273
def __init__(self, config):
@@ -285,6 +288,7 @@ def __init__(self, config):
285288
SPECIALIZED_BUSINESS_AGENT,
286289
EVENT_DRIVEN_CTF,
287290
MULTI_DB_SUPPORT,
291+
CHAT_ASSISTANT,
288292
'Security Penetration Testing',
289293
'CTF Challenge Validation',
290294
'Performance Testing',

tests/unit/agents/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)