feat(ai): 优化拆解目标和负责人推荐

This commit is contained in:
Script Generator
2026-06-29 16:19:52 +08:00
parent 0e27a4d4c5
commit 7f24e16491
19 changed files with 658 additions and 118 deletions

View File

@@ -12,6 +12,17 @@ import {
test('preset categories include stable codes and testing group', () => {
assert.ok(PRESET_CATEGORIES.some((c) => c.code === 'test_functional' && c.group === 'testing'));
for (const code of [
'test_ui_interaction',
'test_form_validation',
'test_data_consistency',
'test_permission',
'test_boundary',
'test_state_flow',
'test_regression',
]) {
assert.ok(PRESET_CATEGORIES.some((c) => c.code === code && c.group === 'testing'), code);
}
assert.ok(PRESET_CATEGORIES.every((c) => c.code.length > 0));
});