-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtesting-principles.module.ts
More file actions
42 lines (40 loc) · 1.24 KB
/
testing-principles.module.ts
File metadata and controls
42 lines (40 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/**
* Test fixture: Testing Principles module
* UMS v2.0 compliant module for search/list command testing
*/
import type { Module } from 'ums-sdk';
import { CognitiveLevel, ComponentType } from 'ums-sdk';
export const testingPrinciples: Module = {
id: 'principle/quality/testing',
version: '1.0.0',
schemaVersion: '2.0',
capabilities: ['testing', 'quality-assurance'],
cognitiveLevel: CognitiveLevel.UNIVERSAL_PATTERNS,
metadata: {
name: 'Testing Principles',
description: 'Quality assurance through systematic testing',
semantic:
'Testing quality assurance QA test-driven development TDD unit testing integration testing validation verification',
tags: ['testing', 'quality', 'tdd'],
},
instruction: {
type: ComponentType.Instruction,
instruction: {
purpose: 'Apply systematic testing principles for quality assurance',
principles: [
'Test early and test often',
'Write tests before implementation',
'Maintain comprehensive test coverage',
'Automate testing processes',
],
constraints: [
{
rule: 'All public APIs MUST have unit tests',
},
{
rule: 'Test coverage SHOULD exceed 80%',
},
],
},
},
};