UNPKG

devibe

Version:

Intelligent repository cleanup with auto mode, AI learning, markdown consolidation, auto-consolidate workflow, context-aware classification, and cost optimization

39 lines 1.34 kB
import { TestCategory, TestOrganizationConfig, OperationPlan, ICanOrganizeTests } from './types.js'; import { UnVibeConfig } from './config.js'; export declare class TestOrganizer implements ICanOrganizeTests { private config; constructor(config: TestOrganizationConfig); /** * Detect all test files in a directory based on configured patterns */ detectTestFiles(rootPath: string): Promise<string[]>; /** * Categorize a test file based on naming patterns and content */ categorizeTest(filePath: string): Promise<TestCategory>; /** * Plan test organization operations */ planTestOrganization(rootPath: string): Promise<OperationPlan>; /** * Get target directory for a test file based on category */ private getTargetDirectory; /** * Check if a filename matches a pattern */ private matchesPattern; /** * Detect technology being used in the project */ static detectTechnology(rootPath: string): Promise<string[]>; /** * Generate a report of current test organization */ generateReport(rootPath: string): Promise<string>; } /** * Create a test organizer from a UnVibe config */ export declare function createTestOrganizer(config: UnVibeConfig): TestOrganizer | null; //# sourceMappingURL=test-organizer.d.ts.map