trickle-cli 0.1.208 → 0.1.210

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.
@@ -2,12 +2,17 @@ export interface TestGenOptions {
2
2
  out?: string;
3
3
  framework?: string;
4
4
  baseUrl?: string;
5
+ unit?: boolean;
6
+ function?: string;
7
+ module?: string;
5
8
  }
6
9
  /**
7
- * `trickle test --generate` — Generate API test files from runtime observations.
10
+ * `trickle test --generate` — Generate test files from runtime observations.
8
11
  *
9
- * Uses real sample request/response data captured at runtime to generate
10
- * ready-to-run test files with correct endpoints, request bodies, and
11
- * response shape assertions.
12
+ * Two modes:
13
+ * Default: API route tests (HTTP endpoint integration tests)
14
+ * --unit: Function-level unit tests from observed inputs/outputs
15
+ *
16
+ * Frameworks: vitest, jest, pytest
12
17
  */
13
18
  export declare function testGenCommand(opts: TestGenOptions): Promise<void>;