specky-sdd 2.2.2 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/README.md +113 -125
- package/SECURITY.md +1 -1
- package/dist/constants.d.ts +8 -3
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +15 -3
- package/dist/constants.js.map +1 -1
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/dist/schemas/pbt.d.ts +14 -0
- package/dist/schemas/pbt.d.ts.map +1 -0
- package/dist/schemas/pbt.js +18 -0
- package/dist/schemas/pbt.js.map +1 -0
- package/dist/services/pbt-generator.d.ts +41 -0
- package/dist/services/pbt-generator.d.ts.map +1 -0
- package/dist/services/pbt-generator.js +326 -0
- package/dist/services/pbt-generator.js.map +1 -0
- package/dist/tools/checkpoint.d.ts +9 -0
- package/dist/tools/checkpoint.d.ts.map +1 -0
- package/dist/tools/checkpoint.js +303 -0
- package/dist/tools/checkpoint.js.map +1 -0
- package/dist/tools/pbt.d.ts +9 -0
- package/dist/tools/pbt.d.ts.map +1 -0
- package/dist/tools/pbt.js +79 -0
- package/dist/tools/pbt.js.map +1 -0
- package/dist/tools/turnkey.d.ts +37 -0
- package/dist/tools/turnkey.d.ts.map +1 -0
- package/dist/tools/turnkey.js +489 -0
- package/dist/tools/turnkey.js.map +1 -0
- package/dist/types.d.ts +11 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pbt.js","sourceRoot":"","sources":["../../src/schemas/pbt.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEjE,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,SAAS,EAAE,CAAC;SACT,IAAI,CAAC,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;SAClC,QAAQ,CAAC,qFAAqF,CAAC;IAClG,cAAc,EAAE,mBAAmB;IACnC,QAAQ,EAAE,aAAa;IACvB,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,OAAO,CAAC,OAAO,CAAC;SAChB,QAAQ,CAAC,0CAA0C,CAAC;CACxD,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,2HAA2H,CAAC,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PbtGenerator — Generates property-based tests from SPECIFICATION.md.
|
|
3
|
+
* Reads EARS requirements and produces framework-specific PBT files
|
|
4
|
+
* for fast-check (TypeScript) or hypothesis (Python).
|
|
5
|
+
*/
|
|
6
|
+
import type { FileManager } from "./file-manager.js";
|
|
7
|
+
export type PbtFramework = "fast-check" | "hypothesis";
|
|
8
|
+
export type PbtPropertyType = "invariant" | "state_transition" | "conditional" | "negative" | "round_trip" | "idempotence";
|
|
9
|
+
export interface PbtProperty {
|
|
10
|
+
id: string;
|
|
11
|
+
requirement_id: string;
|
|
12
|
+
property_type: PbtPropertyType;
|
|
13
|
+
description: string;
|
|
14
|
+
test_code: string;
|
|
15
|
+
}
|
|
16
|
+
export interface PbtGenerationResult {
|
|
17
|
+
framework: PbtFramework;
|
|
18
|
+
properties: PbtProperty[];
|
|
19
|
+
output_file: string;
|
|
20
|
+
content: string;
|
|
21
|
+
total_properties: number;
|
|
22
|
+
property_types: Record<string, number>;
|
|
23
|
+
}
|
|
24
|
+
export declare class PbtGenerator {
|
|
25
|
+
private fileManager;
|
|
26
|
+
constructor(fileManager: FileManager);
|
|
27
|
+
generate(featureDir: string, framework: PbtFramework, outputDir: string): Promise<PbtGenerationResult>;
|
|
28
|
+
extractEarsRequirements(text: string): Array<{
|
|
29
|
+
line: string;
|
|
30
|
+
reqId: string;
|
|
31
|
+
}>;
|
|
32
|
+
classifyPropertyType(line: string): PbtPropertyType;
|
|
33
|
+
private buildProperties;
|
|
34
|
+
private generateTestCode;
|
|
35
|
+
private generateFastCheckTest;
|
|
36
|
+
private generateHypothesisTest;
|
|
37
|
+
renderFile(properties: PbtProperty[], framework: PbtFramework, featureDir: string): string;
|
|
38
|
+
private snakeCase;
|
|
39
|
+
private safeRead;
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=pbt-generator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pbt-generator.d.ts","sourceRoot":"","sources":["../../src/services/pbt-generator.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,MAAM,MAAM,YAAY,GAAG,YAAY,GAAG,YAAY,CAAC;AAEvD,MAAM,MAAM,eAAe,GACvB,WAAW,GACX,kBAAkB,GAClB,aAAa,GACb,UAAU,GACV,YAAY,GACZ,aAAa,CAAC;AAElB,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,eAAe,CAAC;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,YAAY,CAAC;IACxB,UAAU,EAAE,WAAW,EAAE,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACxC;AAOD,qBAAa,YAAY;IACX,OAAO,CAAC,WAAW;gBAAX,WAAW,EAAE,WAAW;IAEtC,QAAQ,CACZ,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,YAAY,EACvB,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,mBAAmB,CAAC;IAyB/B,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IAe7E,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,eAAe;IAsDnD,OAAO,CAAC,eAAe;IAqBvB,OAAO,CAAC,gBAAgB;IAgBxB,OAAO,CAAC,qBAAqB;IAyG7B,OAAO,CAAC,sBAAsB;IA+E9B,UAAU,CAAC,UAAU,EAAE,WAAW,EAAE,EAAE,SAAS,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM;IAmD1F,OAAO,CAAC,SAAS;YAOH,QAAQ;CASvB"}
|
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
const FRAMEWORK_CONFIG = {
|
|
2
|
+
"fast-check": { ext: ".pbt.test.ts" },
|
|
3
|
+
hypothesis: { ext: "_pbt_test.py" },
|
|
4
|
+
};
|
|
5
|
+
export class PbtGenerator {
|
|
6
|
+
fileManager;
|
|
7
|
+
constructor(fileManager) {
|
|
8
|
+
this.fileManager = fileManager;
|
|
9
|
+
}
|
|
10
|
+
async generate(featureDir, framework, outputDir) {
|
|
11
|
+
const spec = await this.safeRead(featureDir, "SPECIFICATION.md");
|
|
12
|
+
const requirements = this.extractEarsRequirements(spec);
|
|
13
|
+
const properties = this.buildProperties(requirements, framework, featureDir);
|
|
14
|
+
const content = this.renderFile(properties, framework, featureDir);
|
|
15
|
+
const featureName = featureDir.replace(/.*\d{3}-/, "").replace(/[^a-zA-Z0-9-]/g, "");
|
|
16
|
+
const cfg = FRAMEWORK_CONFIG[framework];
|
|
17
|
+
const outputFile = `${outputDir}/${featureName}${cfg.ext}`;
|
|
18
|
+
const propertyTypes = {};
|
|
19
|
+
for (const prop of properties) {
|
|
20
|
+
propertyTypes[prop.property_type] = (propertyTypes[prop.property_type] || 0) + 1;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
framework,
|
|
24
|
+
properties,
|
|
25
|
+
output_file: outputFile,
|
|
26
|
+
content,
|
|
27
|
+
total_properties: properties.length,
|
|
28
|
+
property_types: propertyTypes,
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
extractEarsRequirements(text) {
|
|
32
|
+
const results = [];
|
|
33
|
+
const lines = text.split("\n");
|
|
34
|
+
for (const line of lines) {
|
|
35
|
+
if (/^(When|While|Where|If|The)\s+.+shall\s+/im.test(line)) {
|
|
36
|
+
const reqMatch = line.match(/REQ-[A-Z]+-\d{3}/);
|
|
37
|
+
const reqId = reqMatch ? reqMatch[0] : `REQ-GEN-${String(results.length + 1).padStart(3, "0")}`;
|
|
38
|
+
results.push({ line: line.trim(), reqId });
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return results;
|
|
42
|
+
}
|
|
43
|
+
classifyPropertyType(line) {
|
|
44
|
+
const lower = line.toLowerCase();
|
|
45
|
+
// Detect special patterns first
|
|
46
|
+
if (lower.includes("parse") &&
|
|
47
|
+
(lower.includes("serialize") ||
|
|
48
|
+
lower.includes("format") ||
|
|
49
|
+
lower.includes("render") ||
|
|
50
|
+
lower.includes("print") ||
|
|
51
|
+
lower.includes("export"))) {
|
|
52
|
+
return "round_trip";
|
|
53
|
+
}
|
|
54
|
+
if (lower.includes("convert") ||
|
|
55
|
+
lower.includes("transform") ||
|
|
56
|
+
lower.includes("encode") ||
|
|
57
|
+
lower.includes("decode")) {
|
|
58
|
+
return "round_trip";
|
|
59
|
+
}
|
|
60
|
+
if (lower.includes("delete") ||
|
|
61
|
+
lower.includes("remove") ||
|
|
62
|
+
lower.includes("reset") ||
|
|
63
|
+
lower.includes("apply") ||
|
|
64
|
+
lower.includes("update")) {
|
|
65
|
+
return "idempotence";
|
|
66
|
+
}
|
|
67
|
+
// Classify by EARS pattern
|
|
68
|
+
if (/^the\s+system\s+shall\b/i.test(line)) {
|
|
69
|
+
return "invariant";
|
|
70
|
+
}
|
|
71
|
+
if (/^when\b/i.test(line)) {
|
|
72
|
+
return "state_transition";
|
|
73
|
+
}
|
|
74
|
+
if (/^while\b/i.test(line)) {
|
|
75
|
+
return "conditional";
|
|
76
|
+
}
|
|
77
|
+
if (/^if\b/i.test(line)) {
|
|
78
|
+
return "negative";
|
|
79
|
+
}
|
|
80
|
+
if (/^where\b/i.test(line)) {
|
|
81
|
+
return "conditional";
|
|
82
|
+
}
|
|
83
|
+
return "invariant";
|
|
84
|
+
}
|
|
85
|
+
buildProperties(requirements, framework, featureDir) {
|
|
86
|
+
return requirements.map((req, i) => {
|
|
87
|
+
const propId = `PROP-${String(i + 1).padStart(3, "0")}`;
|
|
88
|
+
const propertyType = this.classifyPropertyType(req.line);
|
|
89
|
+
const description = req.line.length > 100 ? req.line.slice(0, 97) + "..." : req.line;
|
|
90
|
+
const testCode = this.generateTestCode(propId, description, req.line, propertyType, framework, featureDir);
|
|
91
|
+
return {
|
|
92
|
+
id: propId,
|
|
93
|
+
requirement_id: req.reqId,
|
|
94
|
+
property_type: propertyType,
|
|
95
|
+
description,
|
|
96
|
+
test_code: testCode,
|
|
97
|
+
};
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
generateTestCode(propId, description, requirementText, propertyType, framework, _featureDir) {
|
|
101
|
+
const safeDesc = description.replace(/"/g, '\\"');
|
|
102
|
+
if (framework === "fast-check") {
|
|
103
|
+
return this.generateFastCheckTest(propId, safeDesc, requirementText, propertyType);
|
|
104
|
+
}
|
|
105
|
+
return this.generateHypothesisTest(propId, description, requirementText, propertyType);
|
|
106
|
+
}
|
|
107
|
+
generateFastCheckTest(propId, description, requirementText, propertyType) {
|
|
108
|
+
const safeReq = requirementText.replace(/"/g, '\\"');
|
|
109
|
+
switch (propertyType) {
|
|
110
|
+
case "invariant":
|
|
111
|
+
return [
|
|
112
|
+
` it("${propId}: ${description}", () => {`,
|
|
113
|
+
` fc.assert(`,
|
|
114
|
+
` fc.property(fc.string(), fc.integer(), (input1, input2) => {`,
|
|
115
|
+
` // TODO: Replace with actual system call`,
|
|
116
|
+
` // Property: ${safeReq}`,
|
|
117
|
+
` const result = systemUnderTest(input1, input2);`,
|
|
118
|
+
` expect(result).toBeDefined();`,
|
|
119
|
+
` return true; // Replace with actual invariant check`,
|
|
120
|
+
` }),`,
|
|
121
|
+
` { numRuns: 100 }`,
|
|
122
|
+
` );`,
|
|
123
|
+
` });`,
|
|
124
|
+
].join("\n");
|
|
125
|
+
case "round_trip":
|
|
126
|
+
return [
|
|
127
|
+
` it("${propId}: round-trip — ${description}", () => {`,
|
|
128
|
+
` fc.assert(`,
|
|
129
|
+
` fc.property(fc.jsonValue(), (input) => {`,
|
|
130
|
+
` // TODO: Verify round-trip: parse(serialize(x)) === x`,
|
|
131
|
+
` const serialized = serialize(input);`,
|
|
132
|
+
` const parsed = parse(serialized);`,
|
|
133
|
+
` expect(parsed).toEqual(input);`,
|
|
134
|
+
` return true;`,
|
|
135
|
+
` }),`,
|
|
136
|
+
` { numRuns: 100 }`,
|
|
137
|
+
` );`,
|
|
138
|
+
` });`,
|
|
139
|
+
].join("\n");
|
|
140
|
+
case "idempotence":
|
|
141
|
+
return [
|
|
142
|
+
` it("${propId}: idempotence — ${description}", () => {`,
|
|
143
|
+
` fc.assert(`,
|
|
144
|
+
` fc.property(fc.anything(), (input) => {`,
|
|
145
|
+
` // TODO: Verify f(f(x)) === f(x)`,
|
|
146
|
+
` const once = operation(input);`,
|
|
147
|
+
` const twice = operation(once);`,
|
|
148
|
+
` expect(twice).toEqual(once);`,
|
|
149
|
+
` return true;`,
|
|
150
|
+
` }),`,
|
|
151
|
+
` { numRuns: 100 }`,
|
|
152
|
+
` );`,
|
|
153
|
+
` });`,
|
|
154
|
+
].join("\n");
|
|
155
|
+
case "state_transition":
|
|
156
|
+
return [
|
|
157
|
+
` it("${propId}: state transition — ${description}", () => {`,
|
|
158
|
+
` fc.assert(`,
|
|
159
|
+
` fc.property(fc.record({ event: fc.string(), state: fc.string() }), ({ event, state }) => {`,
|
|
160
|
+
` // TODO: Verify state transition is valid`,
|
|
161
|
+
` const newState = transition(state, event);`,
|
|
162
|
+
` expect(newState).toBeDefined();`,
|
|
163
|
+
` return true;`,
|
|
164
|
+
` }),`,
|
|
165
|
+
` { numRuns: 100 }`,
|
|
166
|
+
` );`,
|
|
167
|
+
` });`,
|
|
168
|
+
].join("\n");
|
|
169
|
+
case "negative":
|
|
170
|
+
return [
|
|
171
|
+
` it("${propId}: negative — ${description}", () => {`,
|
|
172
|
+
` fc.assert(`,
|
|
173
|
+
` fc.property(fc.string(), (maliciousInput) => {`,
|
|
174
|
+
` // TODO: Verify unwanted behavior never occurs`,
|
|
175
|
+
` const result = systemUnderTest(maliciousInput);`,
|
|
176
|
+
` expect(result.error).not.toContain("crash");`,
|
|
177
|
+
` return true;`,
|
|
178
|
+
` }),`,
|
|
179
|
+
` { numRuns: 100 }`,
|
|
180
|
+
` );`,
|
|
181
|
+
` });`,
|
|
182
|
+
].join("\n");
|
|
183
|
+
case "conditional":
|
|
184
|
+
return [
|
|
185
|
+
` it("${propId}: conditional — ${description}", () => {`,
|
|
186
|
+
` fc.assert(`,
|
|
187
|
+
` fc.property(fc.boolean(), fc.anything(), (condition, input) => {`,
|
|
188
|
+
` // TODO: Verify behavior only when condition holds`,
|
|
189
|
+
` fc.pre(condition); // Only test when condition is true`,
|
|
190
|
+
` const result = systemUnderTest(input);`,
|
|
191
|
+
` expect(result).toBeDefined();`,
|
|
192
|
+
` return true;`,
|
|
193
|
+
` }),`,
|
|
194
|
+
` { numRuns: 100 }`,
|
|
195
|
+
` );`,
|
|
196
|
+
` });`,
|
|
197
|
+
].join("\n");
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
generateHypothesisTest(propId, description, requirementText, propertyType) {
|
|
201
|
+
const descSnake = this.snakeCase(description);
|
|
202
|
+
switch (propertyType) {
|
|
203
|
+
case "invariant":
|
|
204
|
+
return [
|
|
205
|
+
` @given(input1=st.text(), input2=st.integers())`,
|
|
206
|
+
` @settings(max_examples=100)`,
|
|
207
|
+
` def test_${this.snakeCase(propId)}_${descSnake}(self, input1, input2):`,
|
|
208
|
+
` """${propId}: ${requirementText}"""`,
|
|
209
|
+
` # TODO: Replace with actual system call`,
|
|
210
|
+
` result = system_under_test(input1, input2)`,
|
|
211
|
+
` assert result is not None`,
|
|
212
|
+
].join("\n");
|
|
213
|
+
case "round_trip":
|
|
214
|
+
return [
|
|
215
|
+
` @given(data=st.from_type(dict))`,
|
|
216
|
+
` @settings(max_examples=100)`,
|
|
217
|
+
` def test_${this.snakeCase(propId)}_round_trip_${descSnake}(self, data):`,
|
|
218
|
+
` """${propId}: round-trip — ${requirementText}"""`,
|
|
219
|
+
` # TODO: Verify round-trip: parse(serialize(x)) == x`,
|
|
220
|
+
` serialized = serialize(data)`,
|
|
221
|
+
` parsed = parse(serialized)`,
|
|
222
|
+
` assert parsed == data`,
|
|
223
|
+
].join("\n");
|
|
224
|
+
case "idempotence":
|
|
225
|
+
return [
|
|
226
|
+
` @given(data=st.text())`,
|
|
227
|
+
` @settings(max_examples=100)`,
|
|
228
|
+
` def test_${this.snakeCase(propId)}_idempotence_${descSnake}(self, data):`,
|
|
229
|
+
` """${propId}: idempotence — ${requirementText}"""`,
|
|
230
|
+
` # TODO: Verify f(f(x)) == f(x)`,
|
|
231
|
+
` once = operation(data)`,
|
|
232
|
+
` twice = operation(once)`,
|
|
233
|
+
` assert twice == once`,
|
|
234
|
+
].join("\n");
|
|
235
|
+
case "state_transition":
|
|
236
|
+
return [
|
|
237
|
+
` @given(event=st.text(), state=st.text())`,
|
|
238
|
+
` @settings(max_examples=100)`,
|
|
239
|
+
` def test_${this.snakeCase(propId)}_transition_${descSnake}(self, event, state):`,
|
|
240
|
+
` """${propId}: ${requirementText}"""`,
|
|
241
|
+
` # TODO: Verify state transition`,
|
|
242
|
+
` new_state = transition(state, event)`,
|
|
243
|
+
` assert new_state is not None`,
|
|
244
|
+
].join("\n");
|
|
245
|
+
case "negative":
|
|
246
|
+
return [
|
|
247
|
+
` @given(malicious_input=st.text())`,
|
|
248
|
+
` @settings(max_examples=100)`,
|
|
249
|
+
` def test_${this.snakeCase(propId)}_negative_${descSnake}(self, malicious_input):`,
|
|
250
|
+
` """${propId}: ${requirementText}"""`,
|
|
251
|
+
` # TODO: Verify unwanted behavior never occurs`,
|
|
252
|
+
` result = system_under_test(malicious_input)`,
|
|
253
|
+
` assert "crash" not in str(result)`,
|
|
254
|
+
].join("\n");
|
|
255
|
+
case "conditional":
|
|
256
|
+
return [
|
|
257
|
+
` @given(condition=st.booleans(), data=st.text())`,
|
|
258
|
+
` @settings(max_examples=100)`,
|
|
259
|
+
` def test_${this.snakeCase(propId)}_conditional_${descSnake}(self, condition, data):`,
|
|
260
|
+
` """${propId}: ${requirementText}"""`,
|
|
261
|
+
` assume(condition) # Only test when condition holds`,
|
|
262
|
+
` result = system_under_test(data)`,
|
|
263
|
+
` assert result is not None`,
|
|
264
|
+
].join("\n");
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
renderFile(properties, framework, featureDir) {
|
|
268
|
+
const featureName = featureDir.replace(/.*\d{3}-/, "").replace(/[^a-zA-Z0-9 -]/g, "") || "Feature";
|
|
269
|
+
const date = new Date().toISOString().split("T")[0];
|
|
270
|
+
const body = properties.map((p) => p.test_code).join("\n\n");
|
|
271
|
+
if (framework === "fast-check") {
|
|
272
|
+
const header = [
|
|
273
|
+
`/**`,
|
|
274
|
+
` * Auto-generated property-based tests from Specky SDD`,
|
|
275
|
+
` * Feature: ${featureName}`,
|
|
276
|
+
` * Framework: fast-check`,
|
|
277
|
+
` * Generated: ${date}`,
|
|
278
|
+
` *`,
|
|
279
|
+
` * Each property traces to an EARS requirement from SPECIFICATION.md.`,
|
|
280
|
+
` * Replace the TODO placeholders with real system calls.`,
|
|
281
|
+
` */`,
|
|
282
|
+
].join("\n");
|
|
283
|
+
const imports = [
|
|
284
|
+
`import { fc } from "fast-check";`,
|
|
285
|
+
`import { describe, it, expect } from "vitest";`,
|
|
286
|
+
].join("\n");
|
|
287
|
+
return `${header}\n\n${imports}\n\ndescribe("Property-Based Tests — ${featureName}", () => {\n${body}\n});\n`;
|
|
288
|
+
}
|
|
289
|
+
// hypothesis (Python)
|
|
290
|
+
const header = [
|
|
291
|
+
`"""`,
|
|
292
|
+
`Auto-generated property-based tests from Specky SDD`,
|
|
293
|
+
`Feature: ${featureName}`,
|
|
294
|
+
`Framework: hypothesis`,
|
|
295
|
+
`Generated: ${date}`,
|
|
296
|
+
``,
|
|
297
|
+
`Each property traces to an EARS requirement from SPECIFICATION.md.`,
|
|
298
|
+
`Replace the TODO placeholders with real system calls.`,
|
|
299
|
+
`"""`,
|
|
300
|
+
].join("\n");
|
|
301
|
+
const imports = [
|
|
302
|
+
`import hypothesis`,
|
|
303
|
+
`from hypothesis import given, assume, settings`,
|
|
304
|
+
`from hypothesis import strategies as st`,
|
|
305
|
+
].join("\n");
|
|
306
|
+
const className = featureName.replace(/[^a-zA-Z0-9]/g, "");
|
|
307
|
+
return `${header}\n\n${imports}\n\n\nclass TestPropertyBased_${className}:\n """Property-based tests generated from EARS requirements."""\n\n${body}\n`;
|
|
308
|
+
}
|
|
309
|
+
snakeCase(s) {
|
|
310
|
+
return s
|
|
311
|
+
.replace(/[^a-zA-Z0-9]+/g, "_")
|
|
312
|
+
.toLowerCase()
|
|
313
|
+
.slice(0, 60);
|
|
314
|
+
}
|
|
315
|
+
async safeRead(featureDir, file) {
|
|
316
|
+
try {
|
|
317
|
+
const parts = featureDir.split("/");
|
|
318
|
+
const specDir = parts.slice(0, -1).join("/") || ".specs";
|
|
319
|
+
return await this.fileManager.readSpecFile(specDir, `${parts[parts.length - 1]}/${file}`);
|
|
320
|
+
}
|
|
321
|
+
catch {
|
|
322
|
+
return "";
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
//# sourceMappingURL=pbt-generator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3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AO,CAAC,gBAAgB,EAAE,GAAG,CAAC;aAC9B,WAAW,EAAE;aACb,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAClB,CAAC;IAEO,KAAK,CAAC,QAAQ,CAAC,UAAkB,EAAE,IAAY;QACrD,IAAI,CAAC;YACH,MAAM,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YACpC,MAAM,OAAO,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,QAAQ,CAAC;YACzD,OAAO,MAAM,IAAI,CAAC,WAAW,CAAC,YAAY,CAAC,OAAO,EAAE,GAAG,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC;QAC5F,CAAC;QAAC,MAAM,CAAC;YACP,OAAO,EAAE,CAAC;QACZ,CAAC;IACH,CAAC;CACF"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Checkpoint Tools — sdd_checkpoint, sdd_restore.
|
|
3
|
+
* Snapshot and rollback spec artifacts.
|
|
4
|
+
*/
|
|
5
|
+
import type { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
6
|
+
import type { FileManager } from "../services/file-manager.js";
|
|
7
|
+
import type { StateMachine } from "../services/state-machine.js";
|
|
8
|
+
export declare function registerCheckpointTools(server: McpServer, fileManager: FileManager, stateMachine: StateMachine): void;
|
|
9
|
+
//# sourceMappingURL=checkpoint.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkpoint.d.ts","sourceRoot":"","sources":["../../src/tools/checkpoint.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAIzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AA0CjE,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,SAAS,EACjB,WAAW,EAAE,WAAW,EACxB,YAAY,EAAE,YAAY,GACzB,IAAI,CA+SN"}
|