Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

checkpoint: File edit:

rUva6a584517f04
diff --git a/v3/@claude-flow/testing/src/index.ts b/v3/@claude-flow/testing/src/index.ts
index 587522a761..1031e32fe3 100644
--- a/v3/@claude-flow/testing/src/index.ts
+++ b/v3/@claude-flow/testing/src/index.ts
@@ -3,13 +3,39 @@
* TDD London School framework and test utilities for V3 Claude-Flow
*
* Based on ADR-008 (Vitest over Jest)
+ *
+ * @example
+ * // Basic test setup
+ * import {
+ * setupV3Tests,
+ * createMockApplication,
+ * agentConfigs,
+ * swarmConfigs,
+ * } from '@claude-flow/testing';
+ *
+ * setupV3Tests();
+ *
+ * describe('MyModule', () => {
+ * const app = createMockApplication();
+ *
+ * it('should work', async () => {
+ * const agent = await app.agentLifecycle.spawn(agentConfigs.queenCoordinator);
+ * expect(agent.success).toBe(true);
+ * });
+ * });
*/
// Test setup - Global configuration and custom matchers
export * from './setup.js';
-// Helpers - Mock factories and interaction tracking
+// Helpers - Mock factories, utilities, and assertions
export * from './helpers/index.js';
// Fixtures - Pre-defined test data
export * from './fixtures/index.js';
+
+// Mocks - Service mock implementations
+export * from './mocks/index.js';
+
+// Re-export commonly used Vitest utilities
+export { vi, expect, describe, it, test, beforeEach, afterEach, beforeAll, afterAll } from 'vitest';