mirror of
https://github.com/proffesor-for-testing/agentic-qe.git
synced 2026-09-19 08:45:47 +08:00
3949 lines
306 KiB
XML
3949 lines
306 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<testsuites name="jest tests" tests="971" failures="133" errors="0" time="64.679">
|
||
<testsuite name="Agent" errors="0" failures="0" skipped="0" timestamp="2025-12-11T20:02:14" time="1.529" tests="27">
|
||
<testcase classname="Agent › Initialization" name="should initialize agent successfully" time="0.004">
|
||
</testcase>
|
||
<testcase classname="Agent › Initialization" name="should set agent status to ERROR on initialization failure" time="0.01">
|
||
</testcase>
|
||
<testcase classname="Agent › Initialization" name="should emit initialization events" time="0.002">
|
||
</testcase>
|
||
<testcase classname="Agent › Initialization" name="should initialize capabilities correctly" time="0.002">
|
||
</testcase>
|
||
<testcase classname="Agent › Agent Lifecycle" name="should start agent successfully" time="0.002">
|
||
</testcase>
|
||
<testcase classname="Agent › Agent Lifecycle" name="should reject start if not in IDLE status" time="0.004">
|
||
</testcase>
|
||
<testcase classname="Agent › Agent Lifecycle" name="should handle start error" time="0.002">
|
||
</testcase>
|
||
<testcase classname="Agent › Agent Lifecycle" name="should stop agent successfully" time="0.002">
|
||
</testcase>
|
||
<testcase classname="Agent › Agent Lifecycle" name="should wait for current task completion before stopping" time="0.008">
|
||
</testcase>
|
||
<testcase classname="Agent › Agent Lifecycle" name="should handle stop error gracefully" time="0.002">
|
||
</testcase>
|
||
<testcase classname="Agent › Task Assignment and Execution" name="should assign task successfully" time="0.003">
|
||
</testcase>
|
||
<testcase classname="Agent › Task Assignment and Execution" name="should reject task assignment if agent not available" time="0.002">
|
||
</testcase>
|
||
<testcase classname="Agent › Task Assignment and Execution" name="should reject task assignment if agent already has task" time="0.003">
|
||
</testcase>
|
||
<testcase classname="Agent › Task Assignment and Execution" name="should reject unsupported task type" time="0.003">
|
||
</testcase>
|
||
<testcase classname="Agent › Task Assignment and Execution" name="should execute task successfully" time="0.016">
|
||
</testcase>
|
||
<testcase classname="Agent › Task Assignment and Execution" name="should handle task execution failure" time="0.012">
|
||
</testcase>
|
||
<testcase classname="Agent › Task Assignment and Execution" name="should emit task events during execution" time="0.013">
|
||
</testcase>
|
||
<testcase classname="Agent › Capabilities and Task Type Handling" name="should correctly identify supported task types" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Agent › Capabilities and Task Type Handling" name="should return agent capabilities" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Agent › Metrics and Performance" name="should track task completion metrics" time="0.053">
|
||
</testcase>
|
||
<testcase classname="Agent › Metrics and Performance" name="should track task failure metrics" time="0.012">
|
||
</testcase>
|
||
<testcase classname="Agent › Metrics and Performance" name="should calculate average execution time correctly" time="0.156">
|
||
</testcase>
|
||
<testcase classname="Agent › Error Handling and Edge Cases" name="should handle agent errors and set ERROR status" time="0.004">
|
||
</testcase>
|
||
<testcase classname="Agent › Error Handling and Edge Cases" name="should handle null task gracefully" time="0.003">
|
||
</testcase>
|
||
<testcase classname="Agent › Error Handling and Edge Cases" name="should update last activity timestamp on task assignment" time="0.002">
|
||
</testcase>
|
||
<testcase classname="Agent › Concurrent Task Handling" name="should handle rapid task assignments correctly" time="0.002">
|
||
</testcase>
|
||
<testcase classname="Agent › Concurrent Task Handling" name="should be available for new tasks after completion" time="0.024">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="Calculator" errors="0" failures="0" skipped="0" timestamp="2025-12-11T20:02:15" time="0.482" tests="31">
|
||
<testcase classname="Calculator › add" name="should add two positive numbers" time="0.002">
|
||
</testcase>
|
||
<testcase classname="Calculator › add" name="should add two negative numbers" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Calculator › add" name="should add positive and negative numbers" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Calculator › add" name="should handle zero correctly" time="0">
|
||
</testcase>
|
||
<testcase classname="Calculator › add" name="should handle decimal numbers" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Calculator › add" name="should handle large numbers" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Calculator › subtract" name="should subtract two positive numbers" time="0">
|
||
</testcase>
|
||
<testcase classname="Calculator › subtract" name="should subtract two negative numbers" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Calculator › subtract" name="should subtract negative from positive" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Calculator › subtract" name="should subtract positive from negative" time="0">
|
||
</testcase>
|
||
<testcase classname="Calculator › subtract" name="should handle zero correctly" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Calculator › subtract" name="should handle decimal numbers" time="0">
|
||
</testcase>
|
||
<testcase classname="Calculator › multiply" name="should multiply two positive numbers" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Calculator › multiply" name="should multiply two negative numbers" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Calculator › multiply" name="should multiply positive and negative numbers" time="0">
|
||
</testcase>
|
||
<testcase classname="Calculator › multiply" name="should handle multiplication by zero" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Calculator › multiply" name="should handle multiplication by one" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Calculator › multiply" name="should handle decimal numbers" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Calculator › divide" name="should divide two positive numbers" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Calculator › divide" name="should divide two negative numbers" time="0.002">
|
||
</testcase>
|
||
<testcase classname="Calculator › divide" name="should divide positive by negative" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Calculator › divide" name="should divide negative by positive" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Calculator › divide" name="should handle division resulting in decimal" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Calculator › divide" name="should handle zero dividend" time="0.002">
|
||
</testcase>
|
||
<testcase classname="Calculator › divide" name="should throw error on division by zero" time="0.006">
|
||
</testcase>
|
||
<testcase classname="Calculator › divide" name="should throw error on division of zero by zero" time="0.002">
|
||
</testcase>
|
||
<testcase classname="Calculator › divide" name="should handle division by one" time="0.002">
|
||
</testcase>
|
||
<testcase classname="Calculator › divide" name="should handle very small divisors" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Calculator › edge cases" name="should handle NaN inputs gracefully" time="0.003">
|
||
</testcase>
|
||
<testcase classname="Calculator › edge cases" name="should handle Infinity" time="0.003">
|
||
</testcase>
|
||
<testcase classname="Calculator › edge cases" name="should handle negative zero" time="0.001">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="EventBus" errors="0" failures="0" skipped="0" timestamp="2025-12-11T20:02:16" time="1.133" tests="26">
|
||
<testcase classname="EventBus › Initialization" name="should initialize successfully" time="0.022">
|
||
</testcase>
|
||
<testcase classname="EventBus › Initialization" name="should handle multiple initialization calls gracefully" time="0.023">
|
||
</testcase>
|
||
<testcase classname="EventBus › Initialization" name="should set max listeners to support many agents" time="0.018">
|
||
</testcase>
|
||
<testcase classname="EventBus › Event Emission and Storage" name="should emit fleet events with unique IDs" time="0.017">
|
||
</testcase>
|
||
<testcase classname="EventBus › Event Emission and Storage" name="should store events with complete metadata" time="0.018">
|
||
</testcase>
|
||
<testcase classname="EventBus › Event Emission and Storage" name="should emit events without target parameter" time="0.019">
|
||
</testcase>
|
||
<testcase classname="EventBus › Event Emission and Storage" name="should emit events with all required metadata" time="0.021">
|
||
</testcase>
|
||
<testcase classname="EventBus › Event Listeners and Handlers" name="should trigger event listeners when events are emitted" time="0.02">
|
||
</testcase>
|
||
<testcase classname="EventBus › Event Listeners and Handlers" name="should support multiple listeners for the same event" time="0.02">
|
||
</testcase>
|
||
<testcase classname="EventBus › Event Listeners and Handlers" name="should handle listener errors gracefully" time="0.022">
|
||
</testcase>
|
||
<testcase classname="EventBus › Built-in Event Handlers" name="should emit and store fleet lifecycle events" time="0.02">
|
||
</testcase>
|
||
<testcase classname="EventBus › Built-in Event Handlers" name="should emit and store agent lifecycle events" time="0.02">
|
||
</testcase>
|
||
<testcase classname="EventBus › Built-in Event Handlers" name="should emit and store agent error events" time="0.02">
|
||
</testcase>
|
||
<testcase classname="EventBus › Built-in Event Handlers" name="should emit and store task lifecycle events" time="0.03">
|
||
</testcase>
|
||
<testcase classname="EventBus › Event Retrieval and Management" name="should retrieve stored events by ID" time="0.02">
|
||
</testcase>
|
||
<testcase classname="EventBus › Event Retrieval and Management" name="should return undefined for non-existent event IDs" time="0.023">
|
||
</testcase>
|
||
<testcase classname="EventBus › Event Retrieval and Management" name="should handle malformed event IDs gracefully" time="0.023">
|
||
</testcase>
|
||
<testcase classname="EventBus › Performance and Scalability" name="should handle high volume of events efficiently" time="0.037">
|
||
</testcase>
|
||
<testcase classname="EventBus › Performance and Scalability" name="should handle concurrent event emissions" time="0.023">
|
||
</testcase>
|
||
<testcase classname="EventBus › Memory Management" name="should not accumulate excessive events in memory" time="0.024">
|
||
</testcase>
|
||
<testcase classname="EventBus › Event Data Integrity" name="should preserve complex event data structures" time="0.025">
|
||
</testcase>
|
||
<testcase classname="EventBus › Event Data Integrity" name="should handle edge case data types" time="0.035">
|
||
</testcase>
|
||
<testcase classname="EventBus › Error Handling and Edge Cases" name="should handle empty event types gracefully" time="0.026">
|
||
</testcase>
|
||
<testcase classname="EventBus › Error Handling and Edge Cases" name="should handle empty source gracefully" time="0.031">
|
||
</testcase>
|
||
<testcase classname="EventBus › Error Handling and Edge Cases" name="should handle null and undefined data" time="0.044">
|
||
</testcase>
|
||
<testcase classname="EventBus › Error Handling and Edge Cases" name="should maintain event emission order with async listeners" time="0.082">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="SecureRandom" errors="0" failures="0" skipped="0" timestamp="2025-12-11T20:02:17" time="0.867" tests="60">
|
||
<testcase classname="SecureRandom › generateId" name="should generate a hex string of default length (32 characters)" time="0.002">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › generateId" name="should generate a hex string of custom length" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › generateId" name="should generate unique IDs on multiple calls" time="0.009">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › generateId" name="should handle large lengths" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › generateId" name="should handle length of 1" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › randomInt" name="should generate random integers within range" time="0.008">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › randomInt" name="should throw error when min >= max" time="0.014">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › randomInt" name="should handle negative ranges" time="0.004">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › randomInt" name="should handle ranges crossing zero" time="0.003">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › randomInt" name="should handle large ranges" time="0.004">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › randomInt" name="should generate different values on multiple calls" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › randomFloat" name="should generate random floats between 0 and 1 with default precision" time="0.02">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › randomFloat" name="should respect precision parameter" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › randomFloat" name="should generate different values on multiple calls" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › randomFloat" name="should handle high precision" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › randomFloat" name="should handle precision of 1" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › uuid" name="should generate valid RFC4122 v4 UUID" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › uuid" name="should generate unique UUIDs on multiple calls" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › uuid" name="should generate UUIDs with correct length" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › randomString" name="should generate string of specified length with default alphabet" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › randomString" name="should generate string with custom alphabet" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › randomString" name="should generate numeric PIN" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › randomString" name="should generate different strings on multiple calls" time="0.004">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › randomString" name="should handle length of 1" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › randomString" name="should handle long strings" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › randomString" name="should handle custom alphabet with special characters" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › randomString" name="should handle single character alphabet" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › randomBoolean" name="should generate random booleans with default 50/50 probability" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › randomBoolean" name="should respect custom probability" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › randomBoolean" name="should throw error for probability < 0" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › randomBoolean" name="should throw error for probability > 1" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › randomBoolean" name="should return false for probability 0" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › randomBoolean" name="should return true for probability 1" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › shuffle" name="should shuffle array in place" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › shuffle" name="should produce different orders on multiple shuffles" time="0.002">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › shuffle" name="should handle empty array" time="0">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › shuffle" name="should handle single element array" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › shuffle" name="should handle array with duplicate elements" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › shuffle" name="should handle array with objects" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › choice" name="should select random element from array" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › choice" name="should throw error for empty array" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › choice" name="should select all elements with sufficient samples" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › choice" name="should handle single element array" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › choice" name="should handle array with strings" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › choice" name="should handle array with objects" time="0">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › sample" name="should select specified number of elements" time="0">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › sample" name="should not contain duplicates" time="0">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › sample" name="should throw error when count > array length" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › sample" name="should throw error when count < 0" time="0">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › sample" name="should handle count of 0" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › sample" name="should handle count equal to array length" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › sample" name="should produce different samples on multiple calls" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › sample" name="should handle single element sample" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › bytes" name="should generate Buffer of specified size" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › bytes" name="should generate different buffers on multiple calls" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › bytes" name="should handle small sizes" time="0.001">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › bytes" name="should handle large sizes" time="0">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › bytes" name="should generate cryptographically secure bytes" time="0">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › Statistical Distribution Tests" name="randomInt should have uniform distribution" time="0.005">
|
||
</testcase>
|
||
<testcase classname="SecureRandom › Statistical Distribution Tests" name="randomFloat should have uniform distribution" time="0.01">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="BatchOperationManager" errors="0" failures="0" skipped="0" timestamp="2025-12-11T20:02:18" time="18.708" tests="26">
|
||
<testcase classname="BatchOperationManager › Basic Batch Execution" name="should execute all operations successfully" time="0.009">
|
||
</testcase>
|
||
<testcase classname="BatchOperationManager › Basic Batch Execution" name="should maintain operation order in results" time="0.012">
|
||
</testcase>
|
||
<testcase classname="BatchOperationManager › Basic Batch Execution" name="should handle empty operations array" time="0.001">
|
||
</testcase>
|
||
<testcase classname="BatchOperationManager › Concurrency Control" name="should respect maxConcurrent limit" time="0.049">
|
||
</testcase>
|
||
<testcase classname="BatchOperationManager › Concurrency Control" name="should process operations in batches" time="0.049">
|
||
</testcase>
|
||
<testcase classname="BatchOperationManager › Retry Logic" name="should retry failed operations with exponential backoff" time="3.017">
|
||
</testcase>
|
||
<testcase classname="BatchOperationManager › Retry Logic" name="should respect maxRetries limit" time="7.019">
|
||
</testcase>
|
||
<testcase classname="BatchOperationManager › Retry Logic" name="should not retry when retryOnError is false" time="0.028">
|
||
</testcase>
|
||
<testcase classname="BatchOperationManager › Retry Logic" name="should apply exponential backoff between retries" time="3.018">
|
||
</testcase>
|
||
<testcase classname="BatchOperationManager › Timeout Handling" name="should timeout operations that exceed limit" time="0.111">
|
||
</testcase>
|
||
<testcase classname="BatchOperationManager › Timeout Handling" name="should complete operations within timeout" time="0.021">
|
||
</testcase>
|
||
<testcase classname="BatchOperationManager › Timeout Handling" name="should retry timed out operations if retryOnError is true" time="1.119">
|
||
</testcase>
|
||
<testcase classname="BatchOperationManager › Error Handling" name="should collect all errors when failFast is false" time="0.007">
|
||
</testcase>
|
||
<testcase classname="BatchOperationManager › Error Handling" name="should throw immediately when failFast is true" time="0.036">
|
||
</testcase>
|
||
<testcase classname="BatchOperationManager › Error Handling" name="should include operation context in errors" time="0.008">
|
||
</testcase>
|
||
<testcase classname="BatchOperationManager › Progress Tracking" name="should call onProgress callback with correct counts" time="0.004">
|
||
</testcase>
|
||
<testcase classname="BatchOperationManager › Progress Tracking" name="should track progress even with failures" time="0.003">
|
||
</testcase>
|
||
<testcase classname="BatchOperationManager › Performance Metrics" name="should track total execution time" time="0.059">
|
||
</testcase>
|
||
<testcase classname="BatchOperationManager › Performance Metrics" name="should calculate success rate correctly" time="0.001">
|
||
</testcase>
|
||
<testcase classname="BatchOperationManager › Performance Metrics" name="should be significantly faster than sequential execution" time="0.283">
|
||
</testcase>
|
||
<testcase classname="BatchOperationManager › Sequential Execution" name="should execute operations one at a time" time="0.062">
|
||
</testcase>
|
||
<testcase classname="BatchOperationManager › Convenience Function" name="should work with executeBatch helper" time="0.002">
|
||
</testcase>
|
||
<testcase classname="BatchOperationManager › Edge Cases" name="should handle mixed success and failure with retries" time="3.012">
|
||
</testcase>
|
||
<testcase classname="BatchOperationManager › Edge Cases" name="should handle operations that return falsy values" time="0.002">
|
||
</testcase>
|
||
<testcase classname="BatchOperationManager › Edge Cases" name="should handle very large batch sizes" time="0.149">
|
||
</testcase>
|
||
<testcase classname="BatchOperationManager › Type Safety" name="should preserve types through execution" time="0.001">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="Database Migration - Unit Tests" errors="0" failures="3" skipped="0" timestamp="2025-12-11T20:02:36" time="0.627" tests="16">
|
||
<testcase classname="Database Migration - Unit Tests › Checksum Calculation" name="should calculate consistent checksums" time="0.007">
|
||
</testcase>
|
||
<testcase classname="Database Migration - Unit Tests › Checksum Calculation" name="should detect file changes" time="0.006">
|
||
<failure>no such column: "ep4" - should this be a string literal in single-quotes?</failure>
|
||
</testcase>
|
||
<testcase classname="Database Migration - Unit Tests › Checksum Calculation" name="should produce different checksums for different files" time="0.008">
|
||
</testcase>
|
||
<testcase classname="Database Migration - Unit Tests › Data Preservation" name="should preserve all episodes records" time="0.007">
|
||
</testcase>
|
||
<testcase classname="Database Migration - Unit Tests › Data Preservation" name="should preserve all patterns records" time="0.006">
|
||
</testcase>
|
||
<testcase classname="Database Migration - Unit Tests › Data Preservation" name="should detect data corruption" time="0.006">
|
||
<failure>no such column: "ep1" - should this be a string literal in single-quotes?</failure>
|
||
</testcase>
|
||
<testcase classname="Database Migration - Unit Tests › Column Schema" name="should verify episodes table has all required columns" time="0.006">
|
||
</testcase>
|
||
<testcase classname="Database Migration - Unit Tests › Column Schema" name="should verify patterns table has all required columns" time="0.005">
|
||
</testcase>
|
||
<testcase classname="Database Migration - Unit Tests › Dry Run Mode" name="should not create target database in dry-run mode" time="0.005">
|
||
</testcase>
|
||
<testcase classname="Database Migration - Unit Tests › Dry Run Mode" name="should report what would be migrated in dry-run" time="0.005">
|
||
</testcase>
|
||
<testcase classname="Database Migration - Unit Tests › Backup Creation" name="should create backup with timestamp" time="0.015">
|
||
</testcase>
|
||
<testcase classname="Database Migration - Unit Tests › Backup Creation" name="should create checksum file with backup" time="0.007">
|
||
</testcase>
|
||
<testcase classname="Database Migration - Unit Tests › Index Preservation" name="should preserve indexes after migration" time="0.008">
|
||
</testcase>
|
||
<testcase classname="Database Migration - Unit Tests › Error Handling" name="should handle missing source database" time="0.005">
|
||
</testcase>
|
||
<testcase classname="Database Migration - Unit Tests › Error Handling" name="should handle corrupted database file" time="0.005">
|
||
<failure>Error: expect(received).toThrow()
|
||
|
||
Received function did not throw
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/database-migration.test.ts:337:10)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="Database Migration - Unit Tests › Error Handling" name="should detect insufficient disk space scenario" time="0.005">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="filterLargeDataset" errors="0" failures="0" skipped="0" timestamp="2025-12-11T20:02:37" time="0.516" tests="33">
|
||
<testcase classname="filterLargeDataset › basic filtering" name="should filter and return top N items" time="0.001">
|
||
</testcase>
|
||
<testcase classname="filterLargeDataset › basic filtering" name="should filter by priority levels" time="0.001">
|
||
</testcase>
|
||
<testcase classname="filterLargeDataset › basic filtering" name="should use default priority-based sorting when no sortFn provided" time="0">
|
||
</testcase>
|
||
<testcase classname="filterLargeDataset › metrics aggregation" name="should calculate priority distribution" time="0.001">
|
||
</testcase>
|
||
<testcase classname="filterLargeDataset › metrics aggregation" name="should calculate numeric statistics when valueFn provided" time="0.001">
|
||
</testcase>
|
||
<testcase classname="filterLargeDataset › metrics aggregation" name="should not calculate numeric stats when valueFn not provided" time="0">
|
||
</testcase>
|
||
<testcase classname="filterLargeDataset › metrics aggregation" name="should disable metrics when includeMetrics is false" time="0.001">
|
||
</testcase>
|
||
<testcase classname="filterLargeDataset › edge cases" name="should handle empty dataset" time="0">
|
||
</testcase>
|
||
<testcase classname="filterLargeDataset › edge cases" name="should handle dataset smaller than topN" time="0.001">
|
||
</testcase>
|
||
<testcase classname="filterLargeDataset › edge cases" name="should throw error for invalid data type" time="0.01">
|
||
</testcase>
|
||
<testcase classname="filterLargeDataset › edge cases" name="should throw error for missing priorityFn" time="0.001">
|
||
</testcase>
|
||
<testcase classname="filterLargeDataset › edge cases" name="should use default topN value of 10" time="0">
|
||
</testcase>
|
||
<testcase classname="filterLargeDataset › edge cases" name="should handle items with NaN or undefined values" time="0.001">
|
||
</testcase>
|
||
<testcase classname="filterLargeDataset › reduction percentage calculation" name="should calculate realistic token reduction" time="0.001">
|
||
</testcase>
|
||
<testcase classname="countByPriority" name="should count items by priority level" time="0">
|
||
</testcase>
|
||
<testcase classname="countByPriority" name="should return zero counts for empty dataset" time="0.001">
|
||
</testcase>
|
||
<testcase classname="calculateMetrics" name="should calculate complete metrics with valueFn" time="0">
|
||
</testcase>
|
||
<testcase classname="calculateMetrics" name="should handle empty values array gracefully" time="0.001">
|
||
</testcase>
|
||
<testcase classname="priority calculation utilities › calculateCoveragePriority" name="should classify coverage correctly" time="0">
|
||
</testcase>
|
||
<testcase classname="priority calculation utilities › calculateCoveragePriority" name="should use default threshold of 80" time="0.001">
|
||
</testcase>
|
||
<testcase classname="priority calculation utilities › calculatePerformancePriority" name="should classify response times correctly" time="0">
|
||
</testcase>
|
||
<testcase classname="priority calculation utilities › calculatePerformancePriority" name="should use default threshold of 200ms" time="0.001">
|
||
</testcase>
|
||
<testcase classname="priority calculation utilities › calculateQualityPriority" name="should classify quality scores correctly" time="0">
|
||
</testcase>
|
||
<testcase classname="priority calculation utilities › calculateQualityPriority" name="should use default threshold of 70" time="0.001">
|
||
</testcase>
|
||
<testcase classname="priority calculation utilities › calculateSecurityPriority" name="should map severity to priority" time="0.001">
|
||
</testcase>
|
||
<testcase classname="priority calculation utilities › calculateSecurityPriority" name="should handle case insensitivity" time="0.001">
|
||
</testcase>
|
||
<testcase classname="priority calculation utilities › calculateSecurityPriority" name="should default to low for unknown severities" time="0.002">
|
||
</testcase>
|
||
<testcase classname="priority calculation utilities › calculateFlakyPriority" name="should classify flaky rates correctly" time="0.001">
|
||
</testcase>
|
||
<testcase classname="createFilterSummary" name="should generate human-readable summary" time="0.001">
|
||
</testcase>
|
||
<testcase classname="createFilterSummary" name="should use default entity name" time="0.001">
|
||
</testcase>
|
||
<testcase classname="createFilterSummary" name="should handle empty priority distribution" time="0.001">
|
||
</testcase>
|
||
<testcase classname="performance characteristics" name="should handle large datasets efficiently" time="0.029">
|
||
</testcase>
|
||
<testcase classname="performance characteristics" name="should demonstrate token reduction on realistic coverage data" time="0.002">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="FleetManager - London School TDD" errors="0" failures="11" skipped="0" timestamp="2025-12-11T20:02:38" time="0.529" tests="14">
|
||
<testcase classname="FleetManager - London School TDD › Fleet Initialization" name="should initialize fleet with database and event bus" time="0.006">
|
||
</testcase>
|
||
<testcase classname="FleetManager - London School TDD › Fleet Initialization" name="should handle initialization failure gracefully" time="0.002">
|
||
<failure>Error: expect(received).rejects.toThrow()
|
||
|
||
Received promise resolved instead of rejected
|
||
Resolved to value: undefined
|
||
at expect (/workspaces/agentic-qe-cf/node_modules/expect/build/index.js:2116:15)
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/fleet-manager.test.ts:164:13)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="FleetManager - London School TDD › Fleet Initialization" name="should create initial agent pool from configuration" time="0.001">
|
||
</testcase>
|
||
<testcase classname="FleetManager - London School TDD › Agent Spawning" name="should spawn unit test generator agent with jest specialization" time="0.002">
|
||
<failure>Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)
|
||
|
||
Expected: ObjectContaining {"specialization": "jest", "type": "test-generator"}
|
||
|
||
Number of calls: 0
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/fleet-manager.test.ts:207:44)</failure>
|
||
</testcase>
|
||
<testcase classname="FleetManager - London School TDD › Agent Spawning" name="should spawn integration test generator with api specialization" time="0.001">
|
||
<failure>Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)
|
||
|
||
Expected: ObjectContaining {"specialization": "api", "type": "integration-test-generator"}
|
||
|
||
Number of calls: 0
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/fleet-manager.test.ts:240:44)</failure>
|
||
</testcase>
|
||
<testcase classname="FleetManager - London School TDD › Agent Spawning" name="should reject spawning when fleet is at capacity" time="0.002">
|
||
<failure>Error: expect(received).rejects.toThrow()
|
||
|
||
Received promise resolved instead of rejected
|
||
Resolved to value: {"assignTask": [Function mockConstructor], "canHandleTaskType": [Function mockConstructor], "capabilities": ["jest", "typescript"], "execute": [Function mockConstructor], "getId": [Function mockConstructor], "getStatus": [Function mockConstructor], "id": "test-agent-123", "initialize": [Function mockConstructor], "start": [Function mockConstructor], "status": "idle", "stop": [Function mockConstructor], "type": "test-generator"}
|
||
at expect (/workspaces/agentic-qe-cf/node_modules/expect/build/index.js:2116:15)
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/fleet-manager.test.ts:261:13)</failure>
|
||
</testcase>
|
||
<testcase classname="FleetManager - London School TDD › Agent Spawning" name="should handle agent startup failure gracefully" time="0.001">
|
||
<failure>Error: expect(received).rejects.toThrow()
|
||
|
||
Received promise resolved instead of rejected
|
||
Resolved to value: {"assignTask": [Function mockConstructor], "canHandleTaskType": [Function mockConstructor], "capabilities": ["jest", "typescript"], "execute": [Function mockConstructor], "getId": [Function mockConstructor], "getStatus": [Function mockConstructor], "id": "test-agent-123", "initialize": [Function mockConstructor], "start": [Function mockConstructor], "status": "idle", "stop": [Function mockConstructor], "type": "test-generator"}
|
||
at expect (/workspaces/agentic-qe-cf/node_modules/expect/build/index.js:2116:15)
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/fleet-manager.test.ts:274:13)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="FleetManager - London School TDD › Fleet Coordination" name="should coordinate task distribution across available agents" time="0.001">
|
||
<failure>TypeError: fleetManager.distributeTask is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/fleet-manager.test.ts:306:26)</failure>
|
||
</testcase>
|
||
<testcase classname="FleetManager - London School TDD › Fleet Coordination" name="should handle agent failure during task execution" time="0.002">
|
||
<failure>TypeError: fleetManager.distributeTask is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/fleet-manager.test.ts:326:41)</failure>
|
||
</testcase>
|
||
<testcase classname="FleetManager - London School TDD › Fleet Status and Metrics" name="should provide comprehensive fleet status" time="0.002">
|
||
<failure>TypeError: fleetManager.getFleetStatus is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/fleet-manager.test.ts:337:35)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="FleetManager - London School TDD › Fleet Status and Metrics" name="should calculate fleet efficiency metrics" time="0.001">
|
||
<failure>TypeError: fleetManager.calculateEfficiency is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/fleet-manager.test.ts:351:39)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="FleetManager - London School TDD › Fleet Shutdown" name="should gracefully shutdown all agents" time="0.001">
|
||
<failure>TypeError: fleetManager.shutdown is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/fleet-manager.test.ts:367:26)</failure>
|
||
</testcase>
|
||
<testcase classname="FleetManager - London School TDD › Fleet Shutdown" name="should handle agent shutdown failures" time="0.001">
|
||
<failure>TypeError: fleetManager.shutdown is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/fleet-manager.test.ts:384:26)</failure>
|
||
</testcase>
|
||
<testcase classname="FleetManager Contracts" name="should satisfy IFleetManager interface contract" time="0.001">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="Schema Version Management" errors="0" failures="0" skipped="0" timestamp="2025-12-11T20:02:38" time="0.5" tests="16">
|
||
<testcase classname="Schema Version Management › Version Table" name="should create schema_version table" time="0.004">
|
||
</testcase>
|
||
<testcase classname="Schema Version Management › Version Table" name="should insert initial version" time="0.004">
|
||
</testcase>
|
||
<testcase classname="Schema Version Management › Version Table" name="should track multiple schema versions" time="0.005">
|
||
</testcase>
|
||
<testcase classname="Schema Version Management › Version Queries" name="should get current schema version" time="0.005">
|
||
</testcase>
|
||
<testcase classname="Schema Version Management › Version Queries" name="should check if version is applied" time="0.005">
|
||
</testcase>
|
||
<testcase classname="Schema Version Management › Version Queries" name="should get version history" time="0.003">
|
||
</testcase>
|
||
<testcase classname="Schema Version Management › Schema Upgrades" name="should apply schema upgrade from v1 to v2" time="0.006">
|
||
</testcase>
|
||
<testcase classname="Schema Version Management › Schema Upgrades" name="should apply multiple sequential upgrades" time="0.009">
|
||
</testcase>
|
||
<testcase classname="Schema Version Management › Schema Upgrades" name="should track upgrade timestamps" time="0.011">
|
||
</testcase>
|
||
<testcase classname="Schema Version Management › Rollback Compatibility" name="should identify schema version for rollback" time="0.004">
|
||
</testcase>
|
||
<testcase classname="Schema Version Management › Rollback Compatibility" name="should validate rollback is possible" time="0.004">
|
||
</testcase>
|
||
<testcase classname="Schema Version Management › Rollback Compatibility" name="should prevent invalid rollback attempts" time="0.004">
|
||
</testcase>
|
||
<testcase classname="Schema Version Management › Migration Safety" name="should prevent duplicate version application" time="0.004">
|
||
</testcase>
|
||
<testcase classname="Schema Version Management › Migration Safety" name="should require sequential version application" time="0.003">
|
||
</testcase>
|
||
<testcase classname="Schema Version Management › Version Metadata" name="should store migration descriptions" time="0.003">
|
||
</testcase>
|
||
<testcase classname="Schema Version Management › Version Metadata" name="should allow querying versions by description" time="0.008">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="Constitution Schema" errors="0" failures="1" skipped="0" timestamp="2025-12-11T20:02:39" time="0.678" tests="19">
|
||
<testcase classname="Constitution Schema › Schema Validation" name="should validate a valid constitution" time="0.03">
|
||
<failure>Error: expect(received).toBe(expected) // Object.is equality
|
||
|
||
Expected: true
|
||
Received: false
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/constitution/schema.test.ts:54:28)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="Constitution Schema › Schema Validation" name="should reject constitution without required fields" time="0.002">
|
||
</testcase>
|
||
<testcase classname="Constitution Schema › Schema Validation" name="should detect orphaned rules" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Constitution Schema › Schema Validation" name="should warn about missing metric descriptions" time="0.002">
|
||
</testcase>
|
||
<testcase classname="Constitution Schema › Loading Constitutions" name="should load default constitution from file" time="0.004">
|
||
</testcase>
|
||
<testcase classname="Constitution Schema › Loading Constitutions" name="should load test-generation constitution" time="0.002">
|
||
</testcase>
|
||
<testcase classname="Constitution Schema › Loading Constitutions" name="should load code-review constitution" time="0.002">
|
||
</testcase>
|
||
<testcase classname="Constitution Schema › Loading Constitutions" name="should load performance constitution" time="0.002">
|
||
</testcase>
|
||
<testcase classname="Constitution Schema › Loading Constitutions" name="should throw error for non-existent file" time="0.007">
|
||
</testcase>
|
||
<testcase classname="Constitution Schema › Loading Constitutions" name="should cache loaded constitutions" time="0.015">
|
||
</testcase>
|
||
<testcase classname="Constitution Schema › Merging Constitutions" name="should merge base and override constitutions" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Constitution Schema › Merging Constitutions" name="should preserve override metadata" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Constitution Schema › Agent Constitution Lookup" name="should get constitution for qe-test-generator" time="0.002">
|
||
</testcase>
|
||
<testcase classname="Constitution Schema › Agent Constitution Lookup" name="should get constitution for qe-code-reviewer" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Constitution Schema › Agent Constitution Lookup" name="should get constitution for qe-performance-tester" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Constitution Schema › Agent Constitution Lookup" name="should fall back to default for unknown agent" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Constitution Schema › Utility Functions" name="should get base constitutions path" time="0.024">
|
||
</testcase>
|
||
<testcase classname="Constitution Schema › Utility Functions" name="should list available constitutions" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Constitution Schema › Utility Functions" name="should clear cache" time="0.016">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="FlakyTestDetector" errors="0" failures="0" skipped="0" timestamp="2025-12-11T20:02:39" time="0.494" tests="14">
|
||
<testcase classname="FlakyTestDetector › detectFlakyTests" name="should detect intermittent flaky test" time="0.013">
|
||
</testcase>
|
||
<testcase classname="FlakyTestDetector › detectFlakyTests" name="should detect timing-based flaky test" time="0.006">
|
||
</testcase>
|
||
<testcase classname="FlakyTestDetector › detectFlakyTests" name="should NOT detect stable test" time="0.006">
|
||
</testcase>
|
||
<testcase classname="FlakyTestDetector › detectFlakyTests" name="should handle multiple tests with different patterns" time="0.006">
|
||
</testcase>
|
||
<testcase classname="FlakyTestDetector › detectFlakyTests" name="should skip tests with insufficient data" time="0.005">
|
||
</testcase>
|
||
<testcase classname="FlakyTestDetector › detectFlakyTests" name="should sort results by severity and confidence" time="0.01">
|
||
</testcase>
|
||
<testcase classname="FlakyTestDetector › analyzeTest" name="should analyze single test correctly" time="0.006">
|
||
</testcase>
|
||
<testcase classname="FlakyTestDetector › analyzeTest" name="should return null for stable test" time="0.005">
|
||
</testcase>
|
||
<testcase classname="FlakyTestDetector › analyzeTest" name="should return null for insufficient data" time="0.006">
|
||
</testcase>
|
||
<testcase classname="FlakyTestDetector › getStatistics" name="should calculate correct statistics" time="0.006">
|
||
</testcase>
|
||
<testcase classname="FlakyTestDetector › trainModel" name="should train model with labeled data" time="0.01">
|
||
</testcase>
|
||
<testcase classname="FlakyTestDetector › Accuracy Validation" name="should achieve 90%+ accuracy on synthetic dataset" time="0.018">
|
||
</testcase>
|
||
<testcase classname="FlakyTestDetector › Accuracy Validation" name="should have false positive rate < 5%" time="0.006">
|
||
</testcase>
|
||
<testcase classname="FlakyTestDetector › Performance" name="should process 1000+ test results in < 10 seconds" time="0.009">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="PerformanceTracker" errors="0" failures="0" skipped="0" timestamp="2025-12-11T20:02:40" time="0.38" tests="14">
|
||
<testcase classname="PerformanceTracker › constructor" name="should create PerformanceTracker instance with valid agentId" time="0.004">
|
||
</testcase>
|
||
<testcase classname="PerformanceTracker › constructor" name="should initialize with empty snapshots" time="0.001">
|
||
</testcase>
|
||
<testcase classname="PerformanceTracker › recordSnapshot" name="should record a performance snapshot successfully" time="0.001">
|
||
</testcase>
|
||
<testcase classname="PerformanceTracker › recordSnapshot" name="should set baseline on first snapshot" time="0.001">
|
||
</testcase>
|
||
<testcase classname="PerformanceTracker › recordSnapshot" name="should handle multiple snapshots" time="0.001">
|
||
</testcase>
|
||
<testcase classname="PerformanceTracker › calculateImprovement" name="should throw error when no baseline or snapshots available" time="0.007">
|
||
</testcase>
|
||
<testcase classname="PerformanceTracker › calculateImprovement" name="should calculate improvement rate correctly" time="0.001">
|
||
</testcase>
|
||
<testcase classname="PerformanceTracker › calculateImprovement" name="should store improvement data in memory" time="0.001">
|
||
</testcase>
|
||
<testcase classname="PerformanceTracker › getSnapshotCount" name="should return 0 for new tracker" time="0.001">
|
||
</testcase>
|
||
<testcase classname="PerformanceTracker › getSnapshotCount" name="should return correct count after recording snapshots" time="0.001">
|
||
</testcase>
|
||
<testcase classname="PerformanceTracker › getBaseline" name="should return undefined when no baseline set" time="0">
|
||
</testcase>
|
||
<testcase classname="PerformanceTracker › getBaseline" name="should return baseline after first snapshot" time="0.001">
|
||
</testcase>
|
||
<testcase classname="PerformanceTracker › error handling" name="should handle memory store errors gracefully during initialization" time="0">
|
||
</testcase>
|
||
<testcase classname="PerformanceTracker › error handling" name="should handle snapshot storage errors" time="0.001">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="StatisticalAnalysis" errors="0" failures="0" skipped="0" timestamp="2025-12-11T20:02:40" time="0.375" tests="30">
|
||
<testcase classname="StatisticalAnalysis › calculatePassRate" name="should return 0 for empty results" time="0.001">
|
||
</testcase>
|
||
<testcase classname="StatisticalAnalysis › calculatePassRate" name="should calculate 100% pass rate for all passing tests" time="0.001">
|
||
</testcase>
|
||
<testcase classname="StatisticalAnalysis › calculatePassRate" name="should calculate 50% pass rate for half passing tests" time="0">
|
||
</testcase>
|
||
<testcase classname="StatisticalAnalysis › calculatePassRate" name="should calculate 0% pass rate for all failing tests" time="0.001">
|
||
</testcase>
|
||
<testcase classname="StatisticalAnalysis › calculateVariance" name="should return 0 for less than 2 results" time="0">
|
||
</testcase>
|
||
<testcase classname="StatisticalAnalysis › calculateVariance" name="should calculate variance correctly for uniform durations" time="0.001">
|
||
</testcase>
|
||
<testcase classname="StatisticalAnalysis › calculateVariance" name="should calculate variance correctly for varied durations" time="0">
|
||
</testcase>
|
||
<testcase classname="StatisticalAnalysis › calculateConfidence" name="should return 0 for empty results" time="0.001">
|
||
</testcase>
|
||
<testcase classname="StatisticalAnalysis › calculateConfidence" name="should return higher confidence for more samples with low variance" time="0">
|
||
</testcase>
|
||
<testcase classname="StatisticalAnalysis › calculateConfidence" name="should return confidence between 0 and 1" time="0.001">
|
||
</testcase>
|
||
<testcase classname="StatisticalAnalysis › calculateMetrics" name="should return zero metrics for empty values" time="0.001">
|
||
</testcase>
|
||
<testcase classname="StatisticalAnalysis › calculateMetrics" name="should calculate metrics correctly for simple dataset" time="0">
|
||
</testcase>
|
||
<testcase classname="StatisticalAnalysis › calculateMetrics" name="should identify outliers in dataset" time="0.001">
|
||
</testcase>
|
||
<testcase classname="StatisticalAnalysis › calculateMetrics" name="should calculate median correctly for even number of values" time="0">
|
||
</testcase>
|
||
<testcase classname="StatisticalAnalysis › calculateMetrics" name="should calculate median correctly for odd number of values" time="0">
|
||
</testcase>
|
||
<testcase classname="StatisticalAnalysis › isFlakyCandidate" name="should identify flaky test with intermittent failures" time="0.001">
|
||
</testcase>
|
||
<testcase classname="StatisticalAnalysis › isFlakyCandidate" name="should not identify stable passing test as flaky" time="0">
|
||
</testcase>
|
||
<testcase classname="StatisticalAnalysis › isFlakyCandidate" name="should identify test with low pass rate and high variance as flaky" time="0.001">
|
||
</testcase>
|
||
<testcase classname="StatisticalAnalysis › isFlakyCandidate" name="should not identify consistently failing test as flaky" time="0">
|
||
</testcase>
|
||
<testcase classname="StatisticalAnalysis › isFlakyCandidate" name="should identify test with pass rate in flaky range" time="0.001">
|
||
</testcase>
|
||
<testcase classname="StatisticalAnalysis › detectTrend" name="should return 0 for insufficient data" time="0">
|
||
</testcase>
|
||
<testcase classname="StatisticalAnalysis › detectTrend" name="should detect improving trend" time="0">
|
||
</testcase>
|
||
<testcase classname="StatisticalAnalysis › detectTrend" name="should detect degrading trend" time="0.001">
|
||
</testcase>
|
||
<testcase classname="StatisticalAnalysis › identifyOutliers" name="should return empty array for insufficient data" time="0">
|
||
</testcase>
|
||
<testcase classname="StatisticalAnalysis › identifyOutliers" name="should identify outliers using IQR method" time="0">
|
||
</testcase>
|
||
<testcase classname="StatisticalAnalysis › identifyOutliers" name="should not identify outliers in uniform data" time="0">
|
||
</testcase>
|
||
<testcase classname="StatisticalAnalysis › calculateCorrelation" name="should return 0 for empty or mismatched arrays" time="0.005">
|
||
</testcase>
|
||
<testcase classname="StatisticalAnalysis › calculateCorrelation" name="should calculate perfect positive correlation" time="0">
|
||
</testcase>
|
||
<testcase classname="StatisticalAnalysis › calculateCorrelation" name="should calculate perfect negative correlation" time="0.001">
|
||
</testcase>
|
||
<testcase classname="StatisticalAnalysis › calculateCorrelation" name="should calculate no correlation" time="0">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="FlakyDetectionSwarmCoordinator - Comprehensive Tests" errors="0" failures="0" skipped="0" timestamp="2025-12-11T20:02:41" time="0.382" tests="13">
|
||
<testcase classname="FlakyDetectionSwarmCoordinator - Comprehensive Tests › Memory Integration" name="should store individual test analyses" time="0.002">
|
||
</testcase>
|
||
<testcase classname="FlakyDetectionSwarmCoordinator - Comprehensive Tests › Memory Integration" name="should handle memory store errors gracefully" time="0.007">
|
||
</testcase>
|
||
<testcase classname="FlakyDetectionSwarmCoordinator - Comprehensive Tests › Memory Integration" name="should handle memory retrieval errors" time="0">
|
||
</testcase>
|
||
<testcase classname="FlakyDetectionSwarmCoordinator - Comprehensive Tests › Event System Integration" name="should subscribe to events" time="0.001">
|
||
</testcase>
|
||
<testcase classname="FlakyDetectionSwarmCoordinator - Comprehensive Tests › Event System Integration" name="should emit flaky test events" time="0.001">
|
||
</testcase>
|
||
<testcase classname="FlakyDetectionSwarmCoordinator - Comprehensive Tests › Training and Learning" name="should train model from swarm memory" time="0.005">
|
||
</testcase>
|
||
<testcase classname="FlakyDetectionSwarmCoordinator - Comprehensive Tests › Training and Learning" name="should handle training with no data" time="0.001">
|
||
</testcase>
|
||
<testcase classname="FlakyDetectionSwarmCoordinator - Comprehensive Tests › Checkpoint Management" name="should create checkpoints with session ID" time="0">
|
||
</testcase>
|
||
<testcase classname="FlakyDetectionSwarmCoordinator - Comprehensive Tests › Statistics Aggregation" name="should aggregate statistics across multiple tests" time="0.001">
|
||
</testcase>
|
||
<testcase classname="FlakyDetectionSwarmCoordinator - Comprehensive Tests › Statistics Aggregation" name="should calculate recent detections correctly" time="0.001">
|
||
</testcase>
|
||
<testcase classname="FlakyDetectionSwarmCoordinator - Comprehensive Tests › Search and Retrieval" name="should retrieve specific test analysis" time="0">
|
||
</testcase>
|
||
<testcase classname="FlakyDetectionSwarmCoordinator - Comprehensive Tests › Search and Retrieval" name="should return null for non-existent test analysis" time="0.001">
|
||
</testcase>
|
||
<testcase classname="FlakyDetectionSwarmCoordinator - Comprehensive Tests › Search and Retrieval" name="should search tests with wildcards" time="0">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="FlakyDetectionSwarmCoordinator" errors="0" failures="0" skipped="0" timestamp="2025-12-11T20:02:41" time="0.632" tests="18">
|
||
<testcase classname="FlakyDetectionSwarmCoordinator › constructor" name="should create coordinator instance with default namespace" time="0.004">
|
||
</testcase>
|
||
<testcase classname="FlakyDetectionSwarmCoordinator › constructor" name="should create coordinator instance with custom namespace" time="0">
|
||
</testcase>
|
||
<testcase classname="FlakyDetectionSwarmCoordinator › constructor" name="should create coordinator with custom options" time="0.003">
|
||
</testcase>
|
||
<testcase classname="FlakyDetectionSwarmCoordinator › detectAndStore" name="should detect flaky tests from history" time="0.003">
|
||
</testcase>
|
||
<testcase classname="FlakyDetectionSwarmCoordinator › detectAndStore" name="should store detection results in memory" time="0.002">
|
||
</testcase>
|
||
<testcase classname="FlakyDetectionSwarmCoordinator › detectAndStore" name="should handle empty history gracefully" time="0.001">
|
||
</testcase>
|
||
<testcase classname="FlakyDetectionSwarmCoordinator › retrieveResults" name="should retrieve stored results from memory" time="0.001">
|
||
</testcase>
|
||
<testcase classname="FlakyDetectionSwarmCoordinator › retrieveResults" name="should return null when no results are stored" time="0.001">
|
||
</testcase>
|
||
<testcase classname="FlakyDetectionSwarmCoordinator › getAggregateStatistics" name="should return default statistics when no results exist" time="0.003">
|
||
</testcase>
|
||
<testcase classname="FlakyDetectionSwarmCoordinator › getAggregateStatistics" name="should calculate statistics from stored results" time="0.001">
|
||
</testcase>
|
||
<testcase classname="FlakyDetectionSwarmCoordinator › searchFlakyTests" name="should search for tests by pattern" time="0.001">
|
||
</testcase>
|
||
<testcase classname="FlakyDetectionSwarmCoordinator › searchFlakyTests" name="should return empty array when no matches found" time="0.001">
|
||
</testcase>
|
||
<testcase classname="FlakyDetectionSwarmCoordinator › exportMetrics" name="should export metrics from memory" time="0.001">
|
||
</testcase>
|
||
<testcase classname="FlakyDetectionSwarmCoordinator › exportMetrics" name="should return default metrics when none are stored" time="0">
|
||
</testcase>
|
||
<testcase classname="FlakyDetectionSwarmCoordinator › storeMetrics" name="should store metrics in memory" time="0.003">
|
||
</testcase>
|
||
<testcase classname="FlakyDetectionSwarmCoordinator › createCheckpoint" name="should create checkpoint when results exist" time="0.002">
|
||
</testcase>
|
||
<testcase classname="FlakyDetectionSwarmCoordinator › createCheckpoint" name="should not create checkpoint when no results exist" time="0.003">
|
||
</testcase>
|
||
<testcase classname="setupFlakyDetection" name="should create coordinator with default options" time="0.001">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="add" errors="0" failures="0" skipped="0" timestamp="2025-12-11T20:02:42" time="0.583" tests="12">
|
||
<testcase classname="add › basic functionality" name="should add two positive numbers" time="0.001">
|
||
</testcase>
|
||
<testcase classname="add › basic functionality" name="should add two negative numbers" time="0.001">
|
||
</testcase>
|
||
<testcase classname="add › basic functionality" name="should add a positive and negative number" time="0">
|
||
</testcase>
|
||
<testcase classname="add › basic functionality" name="should handle zero as first operand" time="0.001">
|
||
</testcase>
|
||
<testcase classname="add › basic functionality" name="should handle zero as second operand" time="0.001">
|
||
</testcase>
|
||
<testcase classname="add › basic functionality" name="should handle both operands as zero" time="0">
|
||
</testcase>
|
||
<testcase classname="add › boundary cases" name="should handle very large numbers" time="0.001">
|
||
</testcase>
|
||
<testcase classname="add › boundary cases" name="should handle very small numbers" time="0.007">
|
||
</testcase>
|
||
<testcase classname="add › boundary cases" name="should handle decimal numbers" time="0">
|
||
</testcase>
|
||
<testcase classname="add › boundary cases" name="should handle negative decimal numbers" time="0.001">
|
||
</testcase>
|
||
<testcase classname="add › edge cases" name="should handle infinity" time="0.001">
|
||
</testcase>
|
||
<testcase classname="add › edge cases" name="should handle NaN" time="0">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="PrivacyManager" errors="0" failures="0" skipped="0" timestamp="2025-12-11T20:02:42" time="1.223" tests="43">
|
||
<testcase classname="PrivacyManager › Privacy Levels › PUBLIC Level" name="should allow experience sharing" time="0.023">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Privacy Levels › PUBLIC Level" name="should not sanitize code by default" time="0.016">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Privacy Levels › PUBLIC Level" name="should retain data for 1 year by default" time="0.03">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Privacy Levels › TEAM Level" name="should require team namespace" time="0.036">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Privacy Levels › TEAM Level" name="should only share within team namespace" time="0.018">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Privacy Levels › TEAM Level" name="should sanitize code snippets" time="0.018">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Privacy Levels › TEAM Level" name="should anonymize agent IDs" time="0.015">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Privacy Levels › TEAM Level" name="should retain data for 90 days by default" time="0.018">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Privacy Levels › PRIVATE Level" name="should not allow experience sharing" time="0.018">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Privacy Levels › PRIVATE Level" name="should encrypt action data" time="0.016">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Privacy Levels › PRIVATE Level" name="should decrypt encrypted action data" time="0.013">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Privacy Levels › PRIVATE Level" name="should redact sensitive patterns" time="0.014">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Privacy Levels › PRIVATE Level" name="should retain data for 30 days by default" time="0.015">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Privacy Levels › PARANOID Level" name="should not allow persistence or sharing" time="0.012">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Privacy Levels › PARANOID Level" name="should enforce max experience age" time="0.02">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Privacy Levels › PARANOID Level" name="should use aggressive redaction patterns" time="0.013">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Privacy Levels › PARANOID Level" name="should encrypt patterns for storage" time="0.016">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Code Sanitization" name="should redact passwords from code" time="0.013">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Code Sanitization" name="should redact API keys from code" time="0.012">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Code Sanitization" name="should handle custom redaction patterns" time="0.016">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Code Sanitization" name="should sanitize nested objects recursively" time="0.012">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Code Sanitization" name="should sanitize arrays" time="0.012">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Agent ID Anonymization" name="should generate consistent anonymous IDs" time="0.012">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Agent ID Anonymization" name="should allow de-anonymization" time="0.011">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Agent ID Anonymization" name="should sanitize shared experience agent IDs" time="0.012">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Agent ID Anonymization" name="should clear anonymization mappings" time="0.013">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Data Retention Policies" name="should enforce custom retention periods" time="0.015">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Data Retention Policies" name="should handle zero retention period (keep forever)" time="0.015">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Data Retention Policies" name="should provide expiration dates for retained data" time="0.016">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Configuration Management" name="should get current privacy level" time="0.012">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Configuration Management" name="should get full configuration" time="0.014">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Configuration Management" name="should update configuration" time="0.011">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Configuration Management" name="should get privacy statistics" time="0.014">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Pattern Encryption" name="should encrypt patterns in PRIVATE mode" time="0.012">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Pattern Encryption" name="should decrypt patterns correctly" time="0.012">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Pattern Encryption" name="should not encrypt patterns in PUBLIC mode" time="0.012">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Pattern Encryption" name="should handle decryption errors gracefully" time="0.012">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Cleanup and Disposal" name="should stop cleanup timer on dispose" time="0.115">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Cleanup and Disposal" name="should clear encryption key on dispose" time="0.011">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Cleanup and Disposal" name="should clear anonymization mappings on dispose" time="0.011">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Integration Scenarios" name="should handle PUBLIC to PRIVATE upgrade" time="0.011">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Integration Scenarios" name="should handle PRIVATE to PARANOID upgrade" time="0.01">
|
||
</testcase>
|
||
<testcase classname="PrivacyManager › Integration Scenarios" name="should maintain anonymization consistency across sanitization calls" time="0.011">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="BM25Scorer" errors="0" failures="0" skipped="0" timestamp="2025-12-11T20:02:43" time="0.455" tests="36">
|
||
<testcase classname="BM25Scorer › tokenize()" name="should tokenize text into lowercase terms" time="0.001">
|
||
</testcase>
|
||
<testcase classname="BM25Scorer › tokenize()" name="should remove punctuation and special characters" time="0">
|
||
</testcase>
|
||
<testcase classname="BM25Scorer › tokenize()" name="should filter out short terms (length <= 2)" time="0.001">
|
||
</testcase>
|
||
<testcase classname="BM25Scorer › tokenize()" name="should handle empty string" time="0">
|
||
</testcase>
|
||
<testcase classname="BM25Scorer › tokenize()" name="should handle multiple whitespace" time="0.001">
|
||
</testcase>
|
||
<testcase classname="BM25Scorer › buildSparseVector()" name="should build sparse vector with term frequencies" time="0">
|
||
</testcase>
|
||
<testcase classname="BM25Scorer › buildSparseVector()" name="should calculate correct L2 norm" time="0">
|
||
</testcase>
|
||
<testcase classname="BM25Scorer › buildSparseVector()" name="should handle single term" time="0.001">
|
||
</testcase>
|
||
<testcase classname="BM25Scorer › buildSparseVector()" name="should return empty vector for empty text" time="0">
|
||
</testcase>
|
||
<testcase classname="BM25Scorer › buildSparseVector()" name="should count repeated terms correctly" time="0.001">
|
||
</testcase>
|
||
<testcase classname="BM25Scorer › indexDocument()" name="should update term document frequencies" time="0">
|
||
</testcase>
|
||
<testcase classname="BM25Scorer › indexDocument()" name="should track document count" time="0.001">
|
||
</testcase>
|
||
<testcase classname="BM25Scorer › indexDocument()" name="should update average document length" time="0">
|
||
</testcase>
|
||
<testcase classname="BM25Scorer › score()" name="should calculate BM25 score for matching terms" time="0.001">
|
||
</testcase>
|
||
<testcase classname="BM25Scorer › score()" name="should return zero for non-matching terms" time="0">
|
||
</testcase>
|
||
<testcase classname="BM25Scorer › score()" name="should rank exact matches higher than partial matches" time="0.001">
|
||
</testcase>
|
||
<testcase classname="BM25Scorer › score()" name="should handle custom BM25 parameters" time="0">
|
||
</testcase>
|
||
<testcase classname="BM25Scorer › score()" name="should penalize very common terms through IDF" time="0">
|
||
</testcase>
|
||
<testcase classname="HybridSearcher › indexPattern()" name="should index pattern for sparse search" time="0.001">
|
||
</testcase>
|
||
<testcase classname="HybridSearcher › indexPattern()" name="should allow multiple patterns with same terms" time="0">
|
||
</testcase>
|
||
<testcase classname="HybridSearcher › searchSparse()" name="should return top-k results sorted by BM25 score" time="0.001">
|
||
</testcase>
|
||
<testcase classname="HybridSearcher › searchSparse()" name="should return empty array when no matches found" time="0">
|
||
</testcase>
|
||
<testcase classname="HybridSearcher › searchSparse()" name="should limit results to k items" time="0.001">
|
||
</testcase>
|
||
<testcase classname="HybridSearcher › searchSparse()" name="should rank by relevance not just term presence" time="0">
|
||
</testcase>
|
||
<testcase classname="HybridSearcher › searchSparse()" name="should handle empty query" time="0.001">
|
||
</testcase>
|
||
<testcase classname="HybridSearcher › hybridSearch()" name="should combine dense and sparse results using RRF" time="0">
|
||
</testcase>
|
||
<testcase classname="HybridSearcher › hybridSearch()" name="should boost items appearing in both dense and sparse results" time="0.001">
|
||
</testcase>
|
||
<testcase classname="HybridSearcher › hybridSearch()" name="should respect k limit" time="0">
|
||
</testcase>
|
||
<testcase classname="reciprocalRankFusion()" name="should merge overlapping results with combined RRF scores" time="0.001">
|
||
</testcase>
|
||
<testcase classname="reciprocalRankFusion()" name="should handle non-overlapping results" time="0">
|
||
</testcase>
|
||
<testcase classname="reciprocalRankFusion()" name="should calculate RRF scores correctly" time="0.001">
|
||
</testcase>
|
||
<testcase classname="reciprocalRankFusion()" name="should rank by fused score descending" time="0">
|
||
</testcase>
|
||
<testcase classname="reciprocalRankFusion()" name="should use custom k parameter" time="0">
|
||
</testcase>
|
||
<testcase classname="reciprocalRankFusion()" name="should handle empty dense results" time="0.001">
|
||
</testcase>
|
||
<testcase classname="reciprocalRankFusion()" name="should handle empty sparse results" time="0">
|
||
</testcase>
|
||
<testcase classname="reciprocalRankFusion()" name="should handle both empty results" time="0.001">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="TieredCompression" errors="0" failures="6" skipped="0" timestamp="2025-12-11T20:02:44" time="0.778" tests="32">
|
||
<testcase classname="TieredCompression › Float16 Encoding/Decoding" name="should encode and decode float32 values correctly" time="0.001">
|
||
</testcase>
|
||
<testcase classname="TieredCompression › Float16 Encoding/Decoding" name="should handle zero correctly" time="0.001">
|
||
</testcase>
|
||
<testcase classname="TieredCompression › Float16 Encoding/Decoding" name="should handle infinity correctly" time="0.001">
|
||
</testcase>
|
||
<testcase classname="TieredCompression › Float16 Encoding/Decoding" name="should handle NaN correctly" time="0.001">
|
||
<failure>Error: expect(received).toBe(expected) // Object.is equality
|
||
|
||
Expected: true
|
||
Received: false
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/memory/TieredCompression.test.ts:96:33)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="TieredCompression › Float16 Encoding/Decoding" name="should handle negative values correctly" time="0.001">
|
||
</testcase>
|
||
<testcase classname="TieredCompression › Float16 Encoding/Decoding" name="should achieve 2x compression ratio" time="0.001">
|
||
</testcase>
|
||
<testcase classname="TieredCompression › Float16 Encoding/Decoding" name="should maintain 99%+ accuracy retention for typical vectors" time="0.001">
|
||
</testcase>
|
||
<testcase classname="TieredCompression › ProductQuantizer" name="should initialize with 8-bit quantization" time="0.015">
|
||
</testcase>
|
||
<testcase classname="TieredCompression › ProductQuantizer" name="should initialize with 4-bit quantization" time="0.001">
|
||
</testcase>
|
||
<testcase classname="TieredCompression › ProductQuantizer" name="should encode vector to codes (8-bit)" time="0.017">
|
||
</testcase>
|
||
<testcase classname="TieredCompression › ProductQuantizer" name="should encode vector to codes (4-bit)" time="0.001">
|
||
</testcase>
|
||
<testcase classname="TieredCompression › ProductQuantizer" name="should decode codes back to approximate vector (8-bit)" time="0.015">
|
||
</testcase>
|
||
<testcase classname="TieredCompression › ProductQuantizer" name="should decode codes back to approximate vector (4-bit)" time="0.001">
|
||
<failure>Error: expect(received).toBeGreaterThan(expected)
|
||
|
||
Expected: > 0.75
|
||
Received: 0.7432526056605611
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/memory/TieredCompression.test.ts:186:26)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="TieredCompression › ProductQuantizer" name="should achieve 8x compression with 8-bit PQ" time="0.015">
|
||
</testcase>
|
||
<testcase classname="TieredCompression › ProductQuantizer" name="should achieve 16x compression with 4-bit PQ" time="0.007">
|
||
</testcase>
|
||
<testcase classname="TieredCompression › Binary Quantization" name="should encode vector to binary representation" time="0.001">
|
||
</testcase>
|
||
<testcase classname="TieredCompression › Binary Quantization" name="should decode binary back to sign-based vector" time="0">
|
||
</testcase>
|
||
<testcase classname="TieredCompression › Binary Quantization" name="should handle 384-dimension vector" time="0.005">
|
||
</testcase>
|
||
<testcase classname="TieredCompression › Binary Quantization" name="should achieve 32x compression ratio" time="0">
|
||
</testcase>
|
||
<testcase classname="TieredCompression › TieredCompressionManager" name="should initialize with default configuration" time="0.016">
|
||
</testcase>
|
||
<testcase classname="TieredCompression › TieredCompressionManager" name="should compress to f32 tier (no compression)" time="0.017">
|
||
<failure>Error: expect(received).toBeInstanceOf(expected)
|
||
|
||
Expected constructor: ArrayBuffer
|
||
Received constructor: ArrayBuffer
|
||
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/memory/TieredCompression.test.ts:280:26)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="TieredCompression › TieredCompressionManager" name="should compress to f16 tier (2x compression)" time="0.017">
|
||
<failure>Error: expect(received).toBeInstanceOf(expected)
|
||
|
||
Expected constructor: ArrayBuffer
|
||
Received constructor: ArrayBuffer
|
||
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/memory/TieredCompression.test.ts:288:26)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="TieredCompression › TieredCompressionManager" name="should compress to pq8 tier (8x+ compression)" time="0.017">
|
||
</testcase>
|
||
<testcase classname="TieredCompression › TieredCompressionManager" name="should compress to pq4 tier (16x compression)" time="0.016">
|
||
</testcase>
|
||
<testcase classname="TieredCompression › TieredCompressionManager" name="should compress to binary tier (32x compression)" time="0.019">
|
||
</testcase>
|
||
<testcase classname="TieredCompression › TieredCompressionManager" name="should decompress from all tiers correctly" time="0.018">
|
||
<failure>Error: expect(received).toBeGreaterThan(expected)
|
||
|
||
Expected: > 0.85
|
||
Received: 0.7798677392007832
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/memory/TieredCompression.test.ts:334:30)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="TieredCompression › TieredCompressionManager" name="should record access and update counts" time="0.017">
|
||
</testcase>
|
||
<testcase classname="TieredCompression › TieredCompressionManager" name="should recommend tier based on access frequency" time="0.016">
|
||
</testcase>
|
||
<testcase classname="TieredCompression › TieredCompressionManager" name="should provide compression statistics" time="0.017">
|
||
</testcase>
|
||
<testcase classname="TieredCompression › TieredCompressionManager" name="should handle roundtrip for all tiers with acceptable accuracy" time="0.017">
|
||
<failure>Error: expect(received).toBeGreaterThan(expected)
|
||
|
||
Expected: > 1
|
||
Received: 0.9999999999999999
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/memory/TieredCompression.test.ts:413:28)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="TieredCompression › TieredCompressionManager" name="should handle edge case: empty access counts" time="0.017">
|
||
</testcase>
|
||
<testcase classname="TieredCompression › TieredCompressionManager" name="should handle custom tier configuration" time="0.032">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="EventStore" errors="0" failures="1" skipped="0" timestamp="2025-12-11T20:02:45" time="0.579" tests="12">
|
||
<testcase classname="EventStore › Event Recording" name="should record an event with required fields" time="0.011">
|
||
</testcase>
|
||
<testcase classname="EventStore › Event Recording" name="should record event with correlation_id" time="0.009">
|
||
</testcase>
|
||
<testcase classname="EventStore › Event Recording" name="should generate unique IDs for each event" time="0.009">
|
||
</testcase>
|
||
<testcase classname="EventStore › Event Recording" name="should store complex payload objects" time="0.008">
|
||
</testcase>
|
||
<testcase classname="EventStore › Event Retrieval" name="should get events by agent ID" time="0.01">
|
||
</testcase>
|
||
<testcase classname="EventStore › Event Retrieval" name="should get events by event type" time="0.008">
|
||
</testcase>
|
||
<testcase classname="EventStore › Event Retrieval" name="should get events by session ID" time="0.009">
|
||
</testcase>
|
||
<testcase classname="EventStore › Event Retrieval" name="should support pagination with limit and offset" time="0.011">
|
||
</testcase>
|
||
<testcase classname="EventStore › Event Retrieval" name="should return empty array for non-existent agent" time="0.012">
|
||
</testcase>
|
||
<testcase classname="EventStore › Time Range Queries" name="should get events within time range" time="0.009">
|
||
</testcase>
|
||
<testcase classname="EventStore › Correlation Tracking" name="should get events by correlation ID" time="0.01">
|
||
</testcase>
|
||
<testcase classname="EventStore › Statistics" name="should return database statistics" time="0.008">
|
||
<failure>Error: expect(received).toBeDefined()
|
||
|
||
Received: undefined
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/persistence/event-store.test.ts:216:34)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="CodeSignatureGenerator" errors="0" failures="0" skipped="0" timestamp="2025-12-11T20:02:46" time="0.475" tests="13">
|
||
<testcase classname="CodeSignatureGenerator › generate" name="should generate signature for simple function" time="0.011">
|
||
</testcase>
|
||
<testcase classname="CodeSignatureGenerator › generate" name="should extract parameter types correctly" time="0.002">
|
||
</testcase>
|
||
<testcase classname="CodeSignatureGenerator › generate" name="should calculate cyclomatic complexity" time="0.002">
|
||
</testcase>
|
||
<testcase classname="CodeSignatureGenerator › generate" name="should identify async patterns" time="0.001">
|
||
</testcase>
|
||
<testcase classname="CodeSignatureGenerator › generate" name="should identify error handling patterns" time="0.001">
|
||
</testcase>
|
||
<testcase classname="CodeSignatureGenerator › generate" name="should identify boundary check patterns" time="0.001">
|
||
</testcase>
|
||
<testcase classname="CodeSignatureGenerator › generate" name="should extract dependencies" time="0.002">
|
||
</testcase>
|
||
<testcase classname="CodeSignatureGenerator › generate" name="should extract node types" time="0.001">
|
||
</testcase>
|
||
<testcase classname="CodeSignatureGenerator › generate" name="should generate unique hash for different code" time="0.001">
|
||
</testcase>
|
||
<testcase classname="CodeSignatureGenerator › generate" name="should handle arrow functions" time="0.001">
|
||
</testcase>
|
||
<testcase classname="CodeSignatureGenerator › generate" name="should handle class methods" time="0.001">
|
||
</testcase>
|
||
<testcase classname="CodeSignatureGenerator › generate" name="should handle complex control flow" time="0.002">
|
||
</testcase>
|
||
<testcase classname="CodeSignatureGenerator › performance" name="should generate signatures quickly" time="0.037">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="PatternClassifier" errors="0" failures="0" skipped="0" timestamp="2025-12-11T20:02:46" time="0.522" tests="21">
|
||
<testcase classname="PatternClassifier › classify" name="should classify edge case pattern correctly" time="0.003">
|
||
</testcase>
|
||
<testcase classname="PatternClassifier › classify" name="should classify error handling pattern correctly" time="0.001">
|
||
</testcase>
|
||
<testcase classname="PatternClassifier › classify" name="should provide reasoning for classification" time="0.001">
|
||
</testcase>
|
||
<testcase classname="PatternClassifier › classify" name="should provide alternative classifications" time="0.001">
|
||
</testcase>
|
||
<testcase classname="PatternClassifier › classify" name="should have higher confidence for clear patterns" time="0.001">
|
||
</testcase>
|
||
<testcase classname="PatternClassifier › calculateSimilarity" name="should calculate similarity between patterns" time="0.001">
|
||
</testcase>
|
||
<testcase classname="PatternClassifier › calculateSimilarity" name="should show high similarity for same-type patterns" time="0.001">
|
||
</testcase>
|
||
<testcase classname="PatternClassifier › calculateSimilarity" name="should show low similarity for different-type patterns" time="0">
|
||
</testcase>
|
||
<testcase classname="PatternClassifier › calculateSimilarity" name="should provide detailed similarity breakdown" time="0">
|
||
</testcase>
|
||
<testcase classname="PatternClassifier › recommendPatterns" name="should recommend patterns for code" time="0.008">
|
||
</testcase>
|
||
<testcase classname="PatternClassifier › recommendPatterns" name="should recommend async patterns for async code" time="0.001">
|
||
</testcase>
|
||
<testcase classname="PatternClassifier › recommendPatterns" name="should recommend error patterns for error handling code" time="0.002">
|
||
</testcase>
|
||
<testcase classname="PatternClassifier › recommendPatterns" name="should sort recommendations by score" time="0.001">
|
||
</testcase>
|
||
<testcase classname="PatternClassifier › recommendPatterns" name="should respect limit parameter" time="0.001">
|
||
</testcase>
|
||
<testcase classname="PatternClassifier › findSimilarPatterns" name="should find similar patterns" time="0.001">
|
||
</testcase>
|
||
<testcase classname="PatternClassifier › findSimilarPatterns" name="should not include the target pattern itself" time="0.001">
|
||
</testcase>
|
||
<testcase classname="PatternClassifier › findSimilarPatterns" name="should respect threshold parameter" time="0.001">
|
||
</testcase>
|
||
<testcase classname="PatternClassifier › findSimilarPatterns" name="should respect limit parameter" time="0.001">
|
||
</testcase>
|
||
<testcase classname="PatternClassifier › findSimilarPatterns" name="should sort by similarity score descending" time="0.002">
|
||
</testcase>
|
||
<testcase classname="PatternClassifier › loadPatterns" name="should load patterns for classification" time="0.001">
|
||
</testcase>
|
||
<testcase classname="PatternClassifier › loadPatterns" name="should retrieve pattern by ID" time="0.001">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="QuantizationManager" errors="0" failures="0" skipped="0" timestamp="2025-12-11T20:02:47" time="0.459" tests="23">
|
||
<testcase classname="QuantizationManager › getRecommendation" name="should recommend "none" for critical accuracy" time="0.002">
|
||
</testcase>
|
||
<testcase classname="QuantizationManager › getRecommendation" name="should recommend "binary" for mobile deployment" time="0">
|
||
</testcase>
|
||
<testcase classname="QuantizationManager › getRecommendation" name="should recommend "binary" for edge deployment" time="0.001">
|
||
</testcase>
|
||
<testcase classname="QuantizationManager › getRecommendation" name="should recommend "binary" for low memory constraint" time="0">
|
||
</testcase>
|
||
<testcase classname="QuantizationManager › getRecommendation" name="should recommend "product" for large scale (>1M vectors)" time="0.001">
|
||
</testcase>
|
||
<testcase classname="QuantizationManager › getRecommendation" name="should recommend "scalar" for medium scale (10K-1M)" time="0">
|
||
</testcase>
|
||
<testcase classname="QuantizationManager › getRecommendation" name="should recommend "none" for small scale (<10K)" time="0">
|
||
</testcase>
|
||
<testcase classname="QuantizationManager › getRecommendation" name="should recommend "binary" for high speed priority" time="0.001">
|
||
</testcase>
|
||
<testcase classname="QuantizationManager › getRecommendation" name="should recommend "product" for high speed + large scale" time="0">
|
||
</testcase>
|
||
<testcase classname="QuantizationManager › calculateMemoryUsage" name="should calculate correct memory for "none" quantization" time="0.001">
|
||
</testcase>
|
||
<testcase classname="QuantizationManager › calculateMemoryUsage" name="should calculate correct memory for "scalar" quantization" time="0">
|
||
</testcase>
|
||
<testcase classname="QuantizationManager › calculateMemoryUsage" name="should calculate correct memory for "binary" quantization" time="0">
|
||
</testcase>
|
||
<testcase classname="QuantizationManager › calculateMemoryUsage" name="should calculate correct memory for "product" quantization" time="0.001">
|
||
</testcase>
|
||
<testcase classname="QuantizationManager › calculateMemoryUsage" name="should handle different vector dimensions" time="0">
|
||
</testcase>
|
||
<testcase classname="QuantizationManager › recordMetrics and getMetrics" name="should record and retrieve metrics for an agent" time="0.001">
|
||
</testcase>
|
||
<testcase classname="QuantizationManager › recordMetrics and getMetrics" name="should keep only last 100 metrics per agent" time="0.001">
|
||
</testcase>
|
||
<testcase classname="QuantizationManager › recordMetrics and getMetrics" name="should return empty array for unknown agent" time="0">
|
||
</testcase>
|
||
<testcase classname="QuantizationManager › getAggregatedMetrics" name="should aggregate metrics across agents" time="0.001">
|
||
</testcase>
|
||
<testcase classname="QuantizationManager › getAggregatedMetrics" name="should return zeros when no metrics exist" time="0">
|
||
</testcase>
|
||
<testcase classname="QuantizationManager › compareQuantizationTypes" name="should compare all quantization types" time="0.001">
|
||
</testcase>
|
||
<testcase classname="QuantizationManager › compareQuantizationTypes" name="should mark correct recommendation" time="0">
|
||
</testcase>
|
||
<testcase classname="QuantizationManager › generateReport" name="should generate formatted report" time="0.015">
|
||
</testcase>
|
||
<testcase classname="QuantizationManager › clearMetrics" name="should clear all metrics" time="0.001">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="PatternExtractor" errors="0" failures="0" skipped="0" timestamp="2025-12-11T20:02:47" time="0.594" tests="13">
|
||
<testcase classname="PatternExtractor › extractFromFile" name="should extract edge case patterns" time="0.024">
|
||
</testcase>
|
||
<testcase classname="PatternExtractor › extractFromFile" name="should extract boundary condition patterns" time="0.007">
|
||
</testcase>
|
||
<testcase classname="PatternExtractor › extractFromFile" name="should extract error handling patterns" time="0.007">
|
||
</testcase>
|
||
<testcase classname="PatternExtractor › extractFromFile" name="should extract mock patterns" time="0.008">
|
||
</testcase>
|
||
<testcase classname="PatternExtractor › extractFromFile" name="should extract async patterns" time="0.007">
|
||
</testcase>
|
||
<testcase classname="PatternExtractor › extractFromFiles" name="should extract patterns from multiple files" time="0.009">
|
||
</testcase>
|
||
<testcase classname="PatternExtractor › extractFromFiles" name="should handle parsing errors gracefully" time="0.015">
|
||
</testcase>
|
||
<testcase classname="PatternExtractor › extractFromFiles" name="should calculate statistics correctly" time="0.006">
|
||
</testcase>
|
||
<testcase classname="PatternExtractor › pattern deduplication" name="should deduplicate similar patterns" time="0.013">
|
||
</testcase>
|
||
<testcase classname="PatternExtractor › framework detection" name="should detect Jest framework" time="0.004">
|
||
</testcase>
|
||
<testcase classname="PatternExtractor › framework detection" name="should detect Cypress framework" time="0.005">
|
||
</testcase>
|
||
<testcase classname="PatternExtractor › performance" name="should process 100+ files in < 5 seconds" time="0.024">
|
||
</testcase>
|
||
<testcase classname="PatternExtractor › pattern confidence" name="should assign high confidence to clear patterns" time="0.005">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="QEReasoningBank - Enhanced with Vector Similarity" errors="0" failures="5" skipped="0" timestamp="2025-12-11T20:02:48" time="0.541" tests="10">
|
||
<testcase classname="QEReasoningBank - Enhanced with Vector Similarity › Vector Similarity Pattern Matching" name="should find patterns using vector similarity with 85%+ accuracy" time="0.005">
|
||
<failure>Error: expect(received).toBe(expected) // Object.is equality
|
||
|
||
Expected: "p1"
|
||
Received: "p3"
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/reasoning/QEReasoningBank.enhanced.test.ts:95:40)</failure>
|
||
</testcase>
|
||
<testcase classname="QEReasoningBank - Enhanced with Vector Similarity › Vector Similarity Pattern Matching" name="should achieve 85%+ accuracy on pattern similarity tests" time="0.006">
|
||
<failure>Error: expect(received).toBeGreaterThanOrEqual(expected)
|
||
|
||
Expected: >= 0.85
|
||
Received: 0
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/reasoning/QEReasoningBank.enhanced.test.ts:206:24)</failure>
|
||
</testcase>
|
||
<testcase classname="QEReasoningBank - Enhanced with Vector Similarity › Pattern Quality Scoring" name="should calculate quality scores for patterns" time="0.001">
|
||
</testcase>
|
||
<testcase classname="QEReasoningBank - Enhanced with Vector Similarity › Pattern Quality Scoring" name="should filter patterns by quality threshold" time="0.001">
|
||
</testcase>
|
||
<testcase classname="QEReasoningBank - Enhanced with Vector Similarity › Cross-Framework Pattern Sharing" name="should support all 6 frameworks (jest, mocha, cypress, vitest, jasmine, ava)" time="0.001">
|
||
</testcase>
|
||
<testcase classname="QEReasoningBank - Enhanced with Vector Similarity › Cross-Framework Pattern Sharing" name="should export and import patterns for cross-project sharing" time="0.001">
|
||
</testcase>
|
||
<testcase classname="QEReasoningBank - Enhanced with Vector Similarity › Pattern Statistics" name="should calculate comprehensive statistics with quality metrics" time="0.001">
|
||
<failure>Error: expect(received).toBe(expected) // Object.is equality
|
||
|
||
Expected: 3
|
||
Received: 2
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/reasoning/QEReasoningBank.enhanced.test.ts:343:35)</failure>
|
||
</testcase>
|
||
<testcase classname="QEReasoningBank - Enhanced with Vector Similarity › Performance" name="should handle 100+ patterns efficiently" time="0.012">
|
||
<failure>Error: expect(received).toBeGreaterThan(expected)
|
||
|
||
Expected: > 0
|
||
Received: 0
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/reasoning/QEReasoningBank.enhanced.test.ts:377:30)</failure>
|
||
</testcase>
|
||
<testcase classname="QEReasoningBank - Enhanced with Vector Similarity › Performance" name="should store patterns efficiently (< 25ms p95)" time="0.001">
|
||
</testcase>
|
||
<testcase classname="QEReasoningBank - Enhanced with Vector Similarity › Version History" name="should track pattern versions" time="0.001">
|
||
<failure>Error: expect(received).toBe(expected) // Object.is equality
|
||
|
||
Expected: "1.0.0"
|
||
Received: "2.0.0"
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/reasoning/QEReasoningBank.enhanced.test.ts:419:43)</failure>
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="TestTemplateCreator" errors="0" failures="4" skipped="0" timestamp="2025-12-11T20:02:49" time="0.716" tests="20">
|
||
<testcase classname="TestTemplateCreator › createTemplate" name="should create template from edge case pattern" time="0.002">
|
||
</testcase>
|
||
<testcase classname="TestTemplateCreator › createTemplate" name="should create template with standard parameters" time="0.001">
|
||
</testcase>
|
||
<testcase classname="TestTemplateCreator › createTemplate" name="should create template with pattern-specific parameters" time="0.001">
|
||
</testcase>
|
||
<testcase classname="TestTemplateCreator › createTemplate" name="should create template with error handling parameters" time="0.001">
|
||
</testcase>
|
||
<testcase classname="TestTemplateCreator › createTemplate" name="should create template with mock parameters" time="0.001">
|
||
</testcase>
|
||
<testcase classname="TestTemplateCreator › createTemplate" name="should create template with async parameters" time="0.001">
|
||
</testcase>
|
||
<testcase classname="TestTemplateCreator › createTemplates" name="should create multiple templates" time="0.001">
|
||
</testcase>
|
||
<testcase classname="TestTemplateCreator › code generation" name="should generate Jest code" time="0.001">
|
||
</testcase>
|
||
<testcase classname="TestTemplateCreator › code generation" name="should generate Mocha code" time="0.001">
|
||
</testcase>
|
||
<testcase classname="TestTemplateCreator › code generation" name="should generate Cypress code" time="0.001">
|
||
</testcase>
|
||
<testcase classname="TestTemplateCreator › code generation" name="should generate framework-specific assertions" time="0.001">
|
||
</testcase>
|
||
<testcase classname="TestTemplateCreator › validateTemplate" name="should validate required parameters" time="0.002">
|
||
<failure>Error: expect(received).toBe(expected) // Object.is equality
|
||
|
||
Expected: true
|
||
Received: false
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/reasoning/TestTemplateCreator.test.ts:180:28)</failure>
|
||
</testcase>
|
||
<testcase classname="TestTemplateCreator › validateTemplate" name="should fail validation for missing required parameters" time="0.001">
|
||
</testcase>
|
||
<testcase classname="TestTemplateCreator › validateTemplate" name="should validate boundary order rule" time="0.001">
|
||
</testcase>
|
||
<testcase classname="TestTemplateCreator › instantiateTemplate" name="should instantiate template with parameters" time="0.001">
|
||
<failure>Error: Template validation failed: Parameters must match their expected types: Parameter 'edgeValue' has invalid type (expected object, got string)
|
||
at TestTemplateCreator.instantiateTemplate (/workspaces/agentic-qe-cf/src/reasoning/TestTemplateCreator.ts:610:13)
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/reasoning/TestTemplateCreator.test.ts:231:20)</failure>
|
||
</testcase>
|
||
<testcase classname="TestTemplateCreator › instantiateTemplate" name="should replace all parameter placeholders" time="0.001">
|
||
<failure>Error: Template validation failed: Parameters must match their expected types: Parameter 'expectedOutput' has invalid type (expected object, got number)
|
||
at TestTemplateCreator.instantiateTemplate (/workspaces/agentic-qe-cf/src/reasoning/TestTemplateCreator.ts:610:13)
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/reasoning/TestTemplateCreator.test.ts:249:20)</failure>
|
||
</testcase>
|
||
<testcase classname="TestTemplateCreator › instantiateTemplate" name="should throw error for invalid parameters" time="0.001">
|
||
</testcase>
|
||
<testcase classname="TestTemplateCreator › instantiateTemplate" name="should generate different code for different frameworks" time="0.001">
|
||
<failure>Error: Template validation failed: Parameters must match their expected types: Parameter 'input' has invalid type (expected object, got number), Parameter 'expectedOutput' has invalid type (expected object, got number)
|
||
at TestTemplateCreator.instantiateTemplate (/workspaces/agentic-qe-cf/src/reasoning/TestTemplateCreator.ts:610:13)
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/reasoning/TestTemplateCreator.test.ts:279:24)</failure>
|
||
</testcase>
|
||
<testcase classname="TestTemplateCreator › template structure" name="should create arrange-act-assert structure" time="0.001">
|
||
</testcase>
|
||
<testcase classname="TestTemplateCreator › template structure" name="should include setup for mock patterns" time="0.011">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="VectorSimilarity" errors="0" failures="1" skipped="0" timestamp="2025-12-11T20:02:49" time="0.564" tests="22">
|
||
<testcase classname="VectorSimilarity › generateEmbedding" name="should generate vector embeddings for text" time="0.001">
|
||
</testcase>
|
||
<testcase classname="VectorSimilarity › generateEmbedding" name="should normalize vectors" time="0">
|
||
</testcase>
|
||
<testcase classname="VectorSimilarity › generateEmbedding" name="should handle empty text" time="0">
|
||
</testcase>
|
||
<testcase classname="VectorSimilarity › cosineSimilarity" name="should calculate 1.0 for identical vectors" time="0.001">
|
||
</testcase>
|
||
<testcase classname="VectorSimilarity › cosineSimilarity" name="should calculate 0.0 for orthogonal vectors" time="0.001">
|
||
</testcase>
|
||
<testcase classname="VectorSimilarity › cosineSimilarity" name="should calculate similarity for different length vectors (padding)" time="0.001">
|
||
</testcase>
|
||
<testcase classname="VectorSimilarity › cosineSimilarity" name="should handle zero vectors" time="0">
|
||
</testcase>
|
||
<testcase classname="VectorSimilarity › findTopK" name="should find top K similar vectors" time="0.002">
|
||
</testcase>
|
||
<testcase classname="VectorSimilarity › findTopK" name="should sort results by similarity descending" time="0.001">
|
||
</testcase>
|
||
<testcase classname="VectorSimilarity › jaccardSimilarity" name="should calculate 1.0 for identical sets" time="0.001">
|
||
</testcase>
|
||
<testcase classname="VectorSimilarity › jaccardSimilarity" name="should calculate 0.0 for disjoint sets" time="0.001">
|
||
</testcase>
|
||
<testcase classname="VectorSimilarity › jaccardSimilarity" name="should calculate correct similarity for overlapping sets" time="0.001">
|
||
</testcase>
|
||
<testcase classname="VectorSimilarity › hybridSimilarity" name="should combine cosine and Jaccard similarity" time="0.001">
|
||
</testcase>
|
||
<testcase classname="VectorSimilarity › hybridSimilarity" name="should achieve 85%+ accuracy for similar test patterns" time="0.001">
|
||
<failure>Error: expect(received).toBeLessThan(expected)
|
||
|
||
Expected: < 0.3
|
||
Received: 0.5366563145999496
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/reasoning/VectorSimilarity.test.ts:175:20)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="VectorSimilarity › Document Indexing" name="should index documents for IDF calculation" time="0.001">
|
||
</testcase>
|
||
<testcase classname="VectorSimilarity › Document Indexing" name="should batch index multiple documents" time="0.001">
|
||
</testcase>
|
||
<testcase classname="VectorSimilarity › Document Indexing" name="should improve similarity with IDF weighting" time="0.001">
|
||
</testcase>
|
||
<testcase classname="VectorSimilarity › Performance" name="should handle large vocabularies efficiently" time="0.001">
|
||
</testcase>
|
||
<testcase classname="VectorSimilarity › Performance" name="should find top K from large vector set efficiently" time="0.002">
|
||
</testcase>
|
||
<testcase classname="VectorSimilarity › Edge Cases" name="should handle special characters" time="0">
|
||
</testcase>
|
||
<testcase classname="VectorSimilarity › Edge Cases" name="should handle very long text" time="0.002">
|
||
</testcase>
|
||
<testcase classname="VectorSimilarity › Edge Cases" name="should handle unicode characters" time="0">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="Telemetry Bootstrap" errors="0" failures="1" skipped="0" timestamp="2025-12-11T20:02:50" time="0.853" tests="13">
|
||
<testcase classname="Telemetry Bootstrap › Initialization" name="should initialize telemetry with default config" time="0.055">
|
||
</testcase>
|
||
<testcase classname="Telemetry Bootstrap › Initialization" name="should initialize telemetry with custom config" time="0.018">
|
||
</testcase>
|
||
<testcase classname="Telemetry Bootstrap › Initialization" name="should return already-initialized when called twice" time="0.004">
|
||
</testcase>
|
||
<testcase classname="Telemetry Bootstrap › Initialization" name="should configure console exporters when enabled" time="0.004">
|
||
</testcase>
|
||
<testcase classname="Telemetry Bootstrap › Tracer and Meter" name="should get tracer with name" time="0.004">
|
||
</testcase>
|
||
<testcase classname="Telemetry Bootstrap › Tracer and Meter" name="should get meter with name" time="0.005">
|
||
</testcase>
|
||
<testcase classname="Telemetry Bootstrap › Tracer and Meter" name="should create spans with withSpan helper" time="0.009">
|
||
<failure>TypeError: Cannot read properties of undefined (reading 'setAttribute')
|
||
at /workspaces/agentic-qe-cf/tests/unit/telemetry/bootstrap.test.ts:81:14
|
||
at /workspaces/agentic-qe-cf/src/telemetry/bootstrap.ts:315:28
|
||
at AsyncLocalStorage.run (node:internal/async_local_storage/async_context_frame:63:14)
|
||
at AsyncLocalStorageContextManager.with (/workspaces/agentic-qe-cf/node_modules/@opentelemetry/sdk-node/node_modules/@opentelemetry/context-async-hooks/src/AsyncLocalStorageContextManager.ts:40:36)
|
||
at ContextAPI.with (/workspaces/agentic-qe-cf/node_modules/@opentelemetry/api/src/api/context.ts:77:42)
|
||
at Tracer.startActiveSpan (/workspaces/agentic-qe-cf/node_modules/@opentelemetry/sdk-node/node_modules/@opentelemetry/sdk-trace-base/src/Tracer.ts:241:28)
|
||
at withSpan (/workspaces/agentic-qe-cf/src/telemetry/bootstrap.ts:313:17)
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/telemetry/bootstrap.test.ts:80:36)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="Telemetry Bootstrap › Tracer and Meter" name="should handle errors in withSpan" time="0.005">
|
||
</testcase>
|
||
<testcase classname="Telemetry Bootstrap › Shutdown" name="should shutdown gracefully" time="0.004">
|
||
</testcase>
|
||
<testcase classname="Telemetry Bootstrap › Shutdown" name="should handle shutdown when not initialized" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Telemetry Bootstrap › Metrics Creation" name="should create counter metric" time="0.004">
|
||
</testcase>
|
||
<testcase classname="Telemetry Bootstrap › Metrics Creation" name="should create histogram metric" time="0.017">
|
||
</testcase>
|
||
<testcase classname="Telemetry Bootstrap › Metrics Creation" name="should create up-down counter metric" time="0.01">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="Memory Instrumentation Integration" errors="0" failures="0" skipped="0" timestamp="2025-12-11T20:02:51" time="0.895" tests="13">
|
||
<testcase classname="Memory Instrumentation Integration › Store Operation Instrumentation" name="should instrument memory store operations" time="0.02">
|
||
</testcase>
|
||
<testcase classname="Memory Instrumentation Integration › Store Operation Instrumentation" name="should record value size in instrumentation" time="0.007">
|
||
</testcase>
|
||
<testcase classname="Memory Instrumentation Integration › Store Operation Instrumentation" name="should handle auto-initialization when storing after close" time="0.006">
|
||
</testcase>
|
||
<testcase classname="Memory Instrumentation Integration › Retrieve Operation Instrumentation" name="should instrument successful retrieve operations" time="0.005">
|
||
</testcase>
|
||
<testcase classname="Memory Instrumentation Integration › Retrieve Operation Instrumentation" name="should instrument retrieve operations for non-existent keys" time="0.005">
|
||
</testcase>
|
||
<testcase classname="Memory Instrumentation Integration › Retrieve Operation Instrumentation" name="should record value size on successful retrieval" time="0.005">
|
||
</testcase>
|
||
<testcase classname="Memory Instrumentation Integration › Search Operation Instrumentation" name="should instrument search operations" time="0.006">
|
||
</testcase>
|
||
<testcase classname="Memory Instrumentation Integration › Search Operation Instrumentation" name="should record result count in instrumentation" time="0.006">
|
||
</testcase>
|
||
<testcase classname="Memory Instrumentation Integration › Search Operation Instrumentation" name="should handle empty search results" time="0.006">
|
||
</testcase>
|
||
<testcase classname="Memory Instrumentation Integration › Delete Operation Instrumentation" name="should instrument delete operations" time="0.005">
|
||
</testcase>
|
||
<testcase classname="Memory Instrumentation Integration › Delete Operation Instrumentation" name="should handle deleting non-existent keys" time="0.005">
|
||
</testcase>
|
||
<testcase classname="Memory Instrumentation Integration › Error Handling in Instrumentation" name="should handle operations with auto-initialization" time="0.006">
|
||
</testcase>
|
||
<testcase classname="Memory Instrumentation Integration › Performance Tracking" name="should track operation duration for all operations" time="0.008">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="Cost Savings Verification" errors="0" failures="0" skipped="0" timestamp="2025-12-11T20:02:52" time="2.019" tests="5">
|
||
<testcase classname="Cost Savings Verification › Realistic QE Workload Simulation" name="should achieve 70-81% cost savings for typical workload" time="0.3">
|
||
</testcase>
|
||
<testcase classname="Cost Savings Verification › Realistic QE Workload Simulation" name="should achieve consistent savings across different workload patterns" time="1.102">
|
||
</testcase>
|
||
<testcase classname="Cost Savings Verification › Cost Accuracy Validation" name="should estimate costs within 5% accuracy" time="0.007">
|
||
</testcase>
|
||
<testcase classname="Cost Savings Verification › Router Statistics Validation" name="should provide accurate statistics" time="0.012">
|
||
</testcase>
|
||
<testcase classname="Cost Savings Verification › Dashboard Export Validation" name="should export comprehensive dashboard data" time="0.003">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="QUIC Transport" errors="0" failures="0" skipped="0" timestamp="2025-12-11T20:02:54" time="1.058" tests="21">
|
||
<testcase classname="QUIC Transport › Transport Loader" name="should load transport (QUIC or WebSocket fallback)" time="0.003">
|
||
</testcase>
|
||
<testcase classname="QUIC Transport › Transport Loader" name="should load transport with custom configuration" time="0.001">
|
||
</testcase>
|
||
<testcase classname="QUIC Transport › Transport Loader" name="should provide transport capabilities info" time="0.003">
|
||
</testcase>
|
||
<testcase classname="QUIC Transport › Transport Loader" name="should check QUIC availability" time="0.001">
|
||
</testcase>
|
||
<testcase classname="QUIC Transport › WebSocket Fallback Transport" name="should create fallback transport" time="0.001">
|
||
</testcase>
|
||
<testcase classname="QUIC Transport › WebSocket Fallback Transport" name="should have required methods" time="0.001">
|
||
</testcase>
|
||
<testcase classname="QUIC Transport › WebSocket Fallback Transport" name="should return pool statistics" time="0.002">
|
||
</testcase>
|
||
<testcase classname="QUIC Transport › WebSocket Fallback Transport" name="should handle close gracefully" time="0.002">
|
||
</testcase>
|
||
<testcase classname="QUIC Transport › Agent Message Format" name="should accept valid agent message" time="0.001">
|
||
</testcase>
|
||
<testcase classname="QUIC Transport › Agent Message Format" name="should accept message without metadata" time="0.001">
|
||
</testcase>
|
||
<testcase classname="QUIC Transport › Agent Message Format" name="should support various message types" time="0.001">
|
||
</testcase>
|
||
<testcase classname="QUIC Transport › Transport Capabilities" name="should report performance characteristics" time="0.008">
|
||
</testcase>
|
||
<testcase classname="QUIC Transport › Transport Capabilities" name="should indicate QUIC has better performance when available" time="0.002">
|
||
</testcase>
|
||
<testcase classname="QUIC Transport › Configuration Validation" name="should use default configuration when not provided" time="0.001">
|
||
</testcase>
|
||
<testcase classname="QUIC Transport › Configuration Validation" name="should accept partial configuration" time="0.001">
|
||
</testcase>
|
||
<testcase classname="QUIC Transport › Configuration Validation" name="should use sensible defaults" time="0.001">
|
||
</testcase>
|
||
<testcase classname="QUIC Transport › Error Handling" name="should handle connection timeout" time="0.001">
|
||
</testcase>
|
||
<testcase classname="QUIC Transport › Error Handling" name="should handle close on already closed transport" time="0">
|
||
</testcase>
|
||
<testcase classname="Integration Tests › Memory Module Exports" name="should export transport components from memory module" time="0.377">
|
||
</testcase>
|
||
<testcase classname="Integration Tests › Memory Module Exports" name="should export AgentDB integration components" time="0">
|
||
</testcase>
|
||
<testcase classname="Integration Tests › Transport Module Direct Import" name="should allow direct import from transport module" time="0.001">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="AgentDBService" errors="0" failures="19" skipped="0" timestamp="2025-12-11T20:02:55" time="0.726" tests="27">
|
||
<testcase classname="AgentDBService › Initialization" name="should initialize successfully with valid configuration" time="0.007">
|
||
</testcase>
|
||
<testcase classname="AgentDBService › Initialization" name="should throw error when initializing twice" time="0.011">
|
||
</testcase>
|
||
<testcase classname="AgentDBService › Initialization" name="should create database directory if it does not exist" time="0.003">
|
||
</testcase>
|
||
<testcase classname="AgentDBService › Initialization" name="should support factory creation with defaults" time="0.002">
|
||
</testcase>
|
||
<testcase classname="AgentDBService › Pattern Storage" name="should store a single pattern successfully" time="0.009">
|
||
<failure>Error: expect(received).toBe(expected) // Object.is equality
|
||
|
||
Expected: 1
|
||
Received: 0
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/core/memory/AgentDBService.test.ts:128:35)</failure>
|
||
</testcase>
|
||
<testcase classname="AgentDBService › Pattern Storage" name="should retrieve stored pattern by ID" time="0.002">
|
||
<failure>TypeError: service.retrievePattern is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/core/memory/AgentDBService.test.ts:148:39)</failure>
|
||
</testcase>
|
||
<testcase classname="AgentDBService › Pattern Storage" name="should return null for non-existent pattern" time="0.002">
|
||
<failure>TypeError: service.retrievePattern is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/core/memory/AgentDBService.test.ts:159:39)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="AgentDBService › Pattern Storage" name="should throw error for invalid embedding dimension" time="0.006">
|
||
<failure>Error: expect(received).rejects.toThrow()
|
||
|
||
Received promise resolved instead of rejected
|
||
Resolved to value: undefined
|
||
at expect (/workspaces/agentic-qe-cf/node_modules/expect/build/index.js:2116:15)
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/core/memory/AgentDBService.test.ts:180:19)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="AgentDBService › Vector Similarity Search" name="should find similar patterns using vector search" time="0.002">
|
||
<failure>TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
|
||
at Buffer.from (node:buffer:331:9)
|
||
at AgentDBService.storePattern (/workspaces/agentic-qe-cf/src/core/memory/AgentDBService.ts:251:16)
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/core/memory/AgentDBService.test.ts:236:23)</failure>
|
||
</testcase>
|
||
<testcase classname="AgentDBService › Vector Similarity Search" name="should filter results by domain" time="0.002">
|
||
<failure>TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
|
||
at Buffer.from (node:buffer:331:9)
|
||
at AgentDBService.storePattern (/workspaces/agentic-qe-cf/src/core/memory/AgentDBService.ts:251:16)
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/core/memory/AgentDBService.test.ts:236:23)</failure>
|
||
</testcase>
|
||
<testcase classname="AgentDBService › Vector Similarity Search" name="should filter results by type" time="0.002">
|
||
<failure>TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
|
||
at Buffer.from (node:buffer:331:9)
|
||
at AgentDBService.storePattern (/workspaces/agentic-qe-cf/src/core/memory/AgentDBService.ts:251:16)
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/core/memory/AgentDBService.test.ts:236:23)</failure>
|
||
</testcase>
|
||
<testcase classname="AgentDBService › Vector Similarity Search" name="should filter results by minimum confidence" time="0.001">
|
||
<failure>TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
|
||
at Buffer.from (node:buffer:331:9)
|
||
at AgentDBService.storePattern (/workspaces/agentic-qe-cf/src/core/memory/AgentDBService.ts:251:16)
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/core/memory/AgentDBService.test.ts:236:23)</failure>
|
||
</testcase>
|
||
<testcase classname="AgentDBService › Vector Similarity Search" name="should respect k parameter for result count" time="0.003">
|
||
<failure>TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
|
||
at Buffer.from (node:buffer:331:9)
|
||
at AgentDBService.storePattern (/workspaces/agentic-qe-cf/src/core/memory/AgentDBService.ts:251:16)
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/core/memory/AgentDBService.test.ts:236:23)</failure>
|
||
</testcase>
|
||
<testcase classname="AgentDBService › Vector Similarity Search" name="should throw error for invalid query embedding dimension" time="0.002">
|
||
<failure>TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
|
||
at Buffer.from (node:buffer:331:9)
|
||
at AgentDBService.storePattern (/workspaces/agentic-qe-cf/src/core/memory/AgentDBService.ts:251:16)
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/core/memory/AgentDBService.test.ts:236:23)</failure>
|
||
</testcase>
|
||
<testcase classname="AgentDBService › Batch Operations" name="should insert multiple patterns in batch" time="0.002">
|
||
<failure>TypeError: service.storeBatch is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/core/memory/AgentDBService.test.ts:360:36)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="AgentDBService › Batch Operations" name="should handle partial batch failures gracefully" time="0.001">
|
||
<failure>TypeError: service.storeBatch is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/core/memory/AgentDBService.test.ts:402:36)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="AgentDBService › Batch Operations" name="should throw error for mismatched array lengths" time="0.002">
|
||
<failure>TypeError: service.storeBatch is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/core/memory/AgentDBService.test.ts:429:36)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="AgentDBService › Batch Operations" name="should report throughput metrics" time="0.002">
|
||
<failure>TypeError: service.storeBatch is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/core/memory/AgentDBService.test.ts:450:36)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="AgentDBService › Pattern Deletion" name="should delete pattern successfully" time="0.002">
|
||
<failure>TypeError: service.deletePattern is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/core/memory/AgentDBService.test.ts:478:37)</failure>
|
||
</testcase>
|
||
<testcase classname="AgentDBService › Pattern Deletion" name="should return false for non-existent pattern" time="0.002">
|
||
<failure>TypeError: service.deletePattern is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/core/memory/AgentDBService.test.ts:487:37)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="AgentDBService › Database Statistics" name="should return accurate statistics" time="0.002">
|
||
<failure>TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
|
||
at Buffer.from (node:buffer:331:9)
|
||
at AgentDBService.storePattern (/workspaces/agentic-qe-cf/src/core/memory/AgentDBService.ts:251:16)
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/core/memory/AgentDBService.test.ts:501:23)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="AgentDBService › Database Statistics" name="should include cache statistics when enabled" time="0.002">
|
||
<failure>Error: expect(received).toBeDefined()
|
||
|
||
Received: undefined
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/core/memory/AgentDBService.test.ts:526:32)</failure>
|
||
</testcase>
|
||
<testcase classname="AgentDBService › Cache Management" name="should clear cache successfully" time="0.012">
|
||
</testcase>
|
||
<testcase classname="AgentDBService › Error Handling" name="should throw error when operating before initialization" time="0.001">
|
||
</testcase>
|
||
<testcase classname="AgentDBService › Error Handling" name="should handle close on uninitialized service gracefully" time="0.001">
|
||
</testcase>
|
||
<testcase classname="AgentDBService › Lifecycle Management" name="should close successfully and clean up resources" time="0.001">
|
||
<failure>TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
|
||
at Buffer.from (node:buffer:331:9)
|
||
at AgentDBService.storePattern (/workspaces/agentic-qe-cf/src/core/memory/AgentDBService.ts:251:16)
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/core/memory/AgentDBService.test.ts:583:21)</failure>
|
||
</testcase>
|
||
<testcase classname="AgentDBService › Lifecycle Management" name="should allow reinitialization after close" time="0.002">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="EmbeddingGenerator" errors="0" failures="0" skipped="0" timestamp="2025-12-11T20:02:55" time="0.563" tests="40">
|
||
<testcase classname="EmbeddingGenerator › Hash-based Embeddings › generateTextEmbedding" name="should generate hash-based text embedding" time="0.002">
|
||
</testcase>
|
||
<testcase classname="EmbeddingGenerator › Hash-based Embeddings › generateTextEmbedding" name="should generate deterministic embeddings" time="0.002">
|
||
</testcase>
|
||
<testcase classname="EmbeddingGenerator › Hash-based Embeddings › generateTextEmbedding" name="should generate different embeddings for different texts" time="0.001">
|
||
</testcase>
|
||
<testcase classname="EmbeddingGenerator › Hash-based Embeddings › generateTextEmbedding" name="should normalize embeddings when requested" time="0">
|
||
</testcase>
|
||
<testcase classname="EmbeddingGenerator › Hash-based Embeddings › generateTextEmbedding" name="should support custom dimensions" time="0.001">
|
||
</testcase>
|
||
<testcase classname="EmbeddingGenerator › Hash-based Embeddings › generateCodeEmbedding" name="should generate hash-based code embedding" time="0.001">
|
||
</testcase>
|
||
<testcase classname="EmbeddingGenerator › Hash-based Embeddings › generateCodeEmbedding" name="should generate different embeddings for different languages" time="0.001">
|
||
</testcase>
|
||
<testcase classname="EmbeddingGenerator › Hash-based Embeddings › generateHashEmbedding" name="should generate hash embedding directly" time="0.001">
|
||
</testcase>
|
||
<testcase classname="EmbeddingGenerator › Hash-based Embeddings › generateHashEmbedding" name="should handle various text inputs" time="0.001">
|
||
</testcase>
|
||
<testcase classname="EmbeddingGenerator › Caching" name="should cache text embeddings" time="0.001">
|
||
</testcase>
|
||
<testcase classname="EmbeddingGenerator › Caching" name="should cache code embeddings" time="0">
|
||
</testcase>
|
||
<testcase classname="EmbeddingGenerator › Caching" name="should respect useCache option" time="0.001">
|
||
</testcase>
|
||
<testcase classname="EmbeddingGenerator › Caching" name="should allow manual cache operations" time="0.001">
|
||
</testcase>
|
||
<testcase classname="EmbeddingGenerator › Caching" name="should clear cache" time="0">
|
||
</testcase>
|
||
<testcase classname="EmbeddingGenerator › Caching" name="should provide cache statistics" time="0.008">
|
||
</testcase>
|
||
<testcase classname="EmbeddingGenerator › Batch Processing" name="should generate batch text embeddings" time="0">
|
||
</testcase>
|
||
<testcase classname="EmbeddingGenerator › Batch Processing" name="should benefit from caching in batch operations" time="0.001">
|
||
</testcase>
|
||
<testcase classname="EmbeddingGenerator › Batch Processing" name="should handle empty batch" time="0.001">
|
||
</testcase>
|
||
<testcase classname="EmbeddingGenerator › Batch Processing" name="should handle large batches" time="0.001">
|
||
</testcase>
|
||
<testcase classname="EmbeddingGenerator › Model Information" name="should provide model info" time="0.001">
|
||
</testcase>
|
||
<testcase classname="EmbeddingGenerator › Model Information" name="should report ML availability" time="0.001">
|
||
</testcase>
|
||
<testcase classname="EmbeddingGenerator › Performance" name="should generate embeddings quickly (hash-based)" time="0.001">
|
||
</testcase>
|
||
<testcase classname="EmbeddingGenerator › Performance" name="should handle concurrent requests" time="0">
|
||
</testcase>
|
||
<testcase classname="EmbeddingGenerator › Edge Cases" name="should handle empty strings" time="0.001">
|
||
</testcase>
|
||
<testcase classname="EmbeddingGenerator › Edge Cases" name="should handle very long texts" time="0.001">
|
||
</testcase>
|
||
<testcase classname="EmbeddingGenerator › Edge Cases" name="should handle special characters" time="0">
|
||
</testcase>
|
||
<testcase classname="EmbeddingCache › Basic Operations" name="should store and retrieve embeddings" time="0.001">
|
||
</testcase>
|
||
<testcase classname="EmbeddingCache › Basic Operations" name="should return null for missing keys" time="0">
|
||
</testcase>
|
||
<testcase classname="EmbeddingCache › Basic Operations" name="should handle separate namespaces" time="0.001">
|
||
</testcase>
|
||
<testcase classname="EmbeddingCache › Basic Operations" name="should check key existence" time="0">
|
||
</testcase>
|
||
<testcase classname="EmbeddingCache › Basic Operations" name="should delete entries" time="0.001">
|
||
</testcase>
|
||
<testcase classname="EmbeddingCache › LRU Eviction" name="should evict least recently used when full" time="0">
|
||
</testcase>
|
||
<testcase classname="EmbeddingCache › LRU Eviction" name="should update LRU on access" time="0.001">
|
||
</testcase>
|
||
<testcase classname="EmbeddingCache › Statistics" name="should track cache hits and misses" time="0">
|
||
</testcase>
|
||
<testcase classname="EmbeddingCache › Statistics" name="should calculate memory usage" time="0.001">
|
||
</testcase>
|
||
<testcase classname="EmbeddingCache › Statistics" name="should track most accessed entries" time="0.001">
|
||
</testcase>
|
||
<testcase classname="EmbeddingCache › Statistics" name="should reset statistics" time="0">
|
||
</testcase>
|
||
<testcase classname="EmbeddingCache › Optimization" name="should optimize by removing low-access entries" time="0.001">
|
||
</testcase>
|
||
<testcase classname="EmbeddingCache › Clear Operations" name="should clear specific namespace" time="0">
|
||
</testcase>
|
||
<testcase classname="EmbeddingCache › Clear Operations" name="should clear all namespaces" time="0.001">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="RuVectorPatternStore" errors="0" failures="3" skipped="0" timestamp="2025-12-11T20:02:56" time="1.009" tests="22">
|
||
<testcase classname="RuVectorPatternStore › Initialization" name="should initialize successfully" time="0.128">
|
||
</testcase>
|
||
<testcase classname="RuVectorPatternStore › Initialization" name="should report implementation info correctly" time="0.001">
|
||
</testcase>
|
||
<testcase classname="RuVectorPatternStore › Pattern Storage" name="should store and retrieve a single pattern" time="0.01">
|
||
</testcase>
|
||
<testcase classname="RuVectorPatternStore › Pattern Storage" name="should store patterns in batch" time="0.016">
|
||
<failure>Error: expect(received).toBeGreaterThanOrEqual(expected)
|
||
|
||
Matcher error: received value must be a number or bigint
|
||
|
||
Received has type: object
|
||
Received has value: Promise {}
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/core/memory/RuVectorPatternStore.test.ts:97:27)</failure>
|
||
</testcase>
|
||
<testcase classname="RuVectorPatternStore › Pattern Storage" name="should delete patterns" time="0.002">
|
||
</testcase>
|
||
<testcase classname="RuVectorPatternStore › Pattern Storage" name="should record usage correctly" time="0.002">
|
||
</testcase>
|
||
<testcase classname="RuVectorPatternStore › Vector Search" name="should find similar patterns" time="0.008">
|
||
</testcase>
|
||
<testcase classname="RuVectorPatternStore › Vector Search" name="should filter by domain" time="0.006">
|
||
</testcase>
|
||
<testcase classname="RuVectorPatternStore › Vector Search" name="should filter by framework" time="0.007">
|
||
</testcase>
|
||
<testcase classname="RuVectorPatternStore › Vector Search" name="should respect threshold parameter" time="0.006">
|
||
</testcase>
|
||
<testcase classname="RuVectorPatternStore › Performance Metrics" name="should track performance metrics" time="0.005">
|
||
</testcase>
|
||
<testcase classname="RuVectorPatternStore › Performance Metrics" name="should calculate QPS estimate" time="0.004">
|
||
</testcase>
|
||
<testcase classname="RuVectorPatternStore › Statistics" name="should return database stats" time="0.002">
|
||
<failure>Error: expect(received).toBeGreaterThanOrEqual(expected)
|
||
|
||
Matcher error: received value must be a number or bigint
|
||
|
||
Received has type: object
|
||
Received has value: Promise {}
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/core/memory/RuVectorPatternStore.test.ts:239:27)</failure>
|
||
</testcase>
|
||
<testcase classname="PatternStoreFactory" name="should detect platform features" time="0.001">
|
||
</testcase>
|
||
<testcase classname="PatternStoreFactory" name="should create pattern store with auto selection" time="0.002">
|
||
</testcase>
|
||
<testcase classname="PatternStoreFactory" name="should provide recommended config" time="0">
|
||
</testcase>
|
||
<testcase classname="PatternStoreFactory" name="should validate pattern store" time="0.002">
|
||
</testcase>
|
||
<testcase classname="Helper Functions › isRuVectorAvailable" name="should return boolean" time="0">
|
||
</testcase>
|
||
<testcase classname="Helper Functions › getRuVectorInfo" name="should return platform info" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Helper Functions › createQEPatternStore" name="should create pre-configured store" time="0.003">
|
||
</testcase>
|
||
<testcase classname="Helper Functions › createPatternStore" name="should create store via factory" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Performance Benchmark" name="should meet minimum performance targets" time="0.368">
|
||
<failure>Error: expect(received).toBeGreaterThan(expected)
|
||
|
||
Expected: > 10000
|
||
Received: 3256.29461286408
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/core/memory/RuVectorPatternStore.test.ts:386:36)</failure>
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="BaselineCollector" errors="0" failures="0" skipped="0" timestamp="2025-12-11T20:02:57" time="14.681" tests="24">
|
||
<testcase classname="BaselineCollector › initialization" name="should initialize successfully" time="0.005">
|
||
</testcase>
|
||
<testcase classname="BaselineCollector › initialization" name="should not re-initialize if already initialized" time="0.002">
|
||
</testcase>
|
||
<testcase classname="BaselineCollector › baseline collection" name="should collect baseline for test-generator" time="0.511">
|
||
</testcase>
|
||
<testcase classname="BaselineCollector › baseline collection" name="should collect baseline for coverage-analyzer" time="0.479">
|
||
</testcase>
|
||
<testcase classname="BaselineCollector › baseline collection" name="should collect baseline for security-scanner" time="0.513">
|
||
</testcase>
|
||
<testcase classname="BaselineCollector › baseline collection" name="should throw error for non-existent task type" time="0.016">
|
||
</testcase>
|
||
<testcase classname="BaselineCollector › baseline collection" name="should store baseline in database" time="0.516">
|
||
</testcase>
|
||
<testcase classname="BaselineCollector › baseline retrieval" name="should retrieve baseline by agent type and task type" time="1.491">
|
||
</testcase>
|
||
<testcase classname="BaselineCollector › baseline retrieval" name="should return null for non-existent baseline" time="1.502">
|
||
</testcase>
|
||
<testcase classname="BaselineCollector › baseline retrieval" name="should retrieve all baselines for an agent" time="1.523">
|
||
</testcase>
|
||
<testcase classname="BaselineCollector › baseline retrieval" name="should return empty array for agent with no baselines" time="1.517">
|
||
</testcase>
|
||
<testcase classname="BaselineCollector › baseline statistics" name="should calculate baseline stats for agent" time="1.021">
|
||
</testcase>
|
||
<testcase classname="BaselineCollector › baseline statistics" name="should return null for agent with no baselines" time="1.025">
|
||
</testcase>
|
||
<testcase classname="BaselineCollector › improvement targets" name="should calculate improvement target from baseline" time="0.52">
|
||
</testcase>
|
||
<testcase classname="BaselineCollector › improvement targets" name="should check if metrics meet improvement target" time="0.515">
|
||
</testcase>
|
||
<testcase classname="BaselineCollector › improvement targets" name="should detect when metrics do not meet target" time="0.513">
|
||
</testcase>
|
||
<testcase classname="BaselineCollector › improvement targets" name="should pass with partial improvement (2 out of 3 metrics)" time="0.516">
|
||
</testcase>
|
||
<testcase classname="BaselineCollector › StandardTaskSuite integration" name="should have tasks for all agent types" time="0.004">
|
||
</testcase>
|
||
<testcase classname="BaselineCollector › StandardTaskSuite integration" name="should have 10 tasks per agent type" time="0.002">
|
||
</testcase>
|
||
<testcase classname="BaselineCollector › StandardTaskSuite integration" name="should filter tasks by task type" time="0.002">
|
||
</testcase>
|
||
<testcase classname="BaselineCollector › StandardTaskSuite integration" name="should get task types for an agent" time="0.002">
|
||
</testcase>
|
||
<testcase classname="BaselineCollector › StandardTaskSuite integration" name="should have valid task metadata" time="0.007">
|
||
</testcase>
|
||
<testcase classname="BaselineCollector › comprehensive baseline collection" name="should collect baselines for multiple agents" time="1.496">
|
||
</testcase>
|
||
<testcase classname="BaselineCollector › comprehensive baseline collection" name="should handle concurrent baseline collection" time="0.51">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="Init Command" errors="0" failures="30" skipped="0" timestamp="2025-12-11T20:03:12" time="0.717" tests="30">
|
||
<testcase classname="Init Command › generateEnvironmentConfigs" name="should generate default environment configs" time="0.002">
|
||
<failure>Error: Configuration error:
|
||
|
||
Could not locate module ../../../src/cli/commands/init.js mapped as:
|
||
$1.
|
||
|
||
Please check your configuration for these entries:
|
||
{
|
||
"moduleNameMapper": {
|
||
"/^(\.{1,2}\/.*)\.js$/": "$1"
|
||
},
|
||
"resolver": undefined
|
||
}
|
||
at createNoMappedModuleFoundError (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1117:17)
|
||
at Resolver.resolveStubModuleName (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1053:19)
|
||
at Resolver.getMockModule (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:900:33)
|
||
at Resolver._isModuleResolved (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1011:50)
|
||
at Resolver._getAbsolutePath (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:984:17)
|
||
at Resolver.getModuleID (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:949:31)
|
||
at Runtime._shouldMockCjs (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:1486:37)
|
||
at Runtime.requireModuleOrMock (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:961:16)
|
||
at /workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:37:46
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:37:46)</failure>
|
||
</testcase>
|
||
<testcase classname="Init Command › generateEnvironmentConfigs" name="should generate configs with custom environments" time="0.002">
|
||
<failure>Error: Configuration error:
|
||
|
||
Could not locate module ../../../src/cli/commands/init.js mapped as:
|
||
$1.
|
||
|
||
Please check your configuration for these entries:
|
||
{
|
||
"moduleNameMapper": {
|
||
"/^(\.{1,2}\/.*)\.js$/": "$1"
|
||
},
|
||
"resolver": undefined
|
||
}
|
||
at createNoMappedModuleFoundError (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1117:17)
|
||
at Resolver.resolveStubModuleName (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1053:19)
|
||
at Resolver.getMockModule (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:900:33)
|
||
at Resolver._isModuleResolved (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1011:50)
|
||
at Resolver._getAbsolutePath (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:984:17)
|
||
at Resolver.getModuleID (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:949:31)
|
||
at Runtime._shouldMockCjs (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:1486:37)
|
||
at Runtime.requireModuleOrMock (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:961:16)
|
||
at /workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:54:46
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:54:46)</failure>
|
||
</testcase>
|
||
<testcase classname="Init Command › generateEnvironmentConfigs" name="should include all required config fields" time="0.001">
|
||
<failure>Error: Configuration error:
|
||
|
||
Could not locate module ../../../src/cli/commands/init.js mapped as:
|
||
$1.
|
||
|
||
Please check your configuration for these entries:
|
||
{
|
||
"moduleNameMapper": {
|
||
"/^(\.{1,2}\/.*)\.js$/": "$1"
|
||
},
|
||
"resolver": undefined
|
||
}
|
||
at createNoMappedModuleFoundError (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1117:17)
|
||
at Resolver.resolveStubModuleName (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1053:19)
|
||
at Resolver.getMockModule (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:900:33)
|
||
at Resolver._isModuleResolved (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1011:50)
|
||
at Resolver._getAbsolutePath (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:984:17)
|
||
at Resolver.getModuleID (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:949:31)
|
||
at Runtime._shouldMockCjs (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:1486:37)
|
||
at Runtime.requireModuleOrMock (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:961:16)
|
||
at /workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:73:46
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:73:46)</failure>
|
||
</testcase>
|
||
<testcase classname="Init Command › generateEnvironmentConfigs" name="should generate different configs for different environments" time="0.002">
|
||
<failure>Error: Configuration error:
|
||
|
||
Could not locate module ../../../src/cli/commands/init.js mapped as:
|
||
$1.
|
||
|
||
Please check your configuration for these entries:
|
||
{
|
||
"moduleNameMapper": {
|
||
"/^(\.{1,2}\/.*)\.js$/": "$1"
|
||
},
|
||
"resolver": undefined
|
||
}
|
||
at createNoMappedModuleFoundError (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1117:17)
|
||
at Resolver.resolveStubModuleName (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1053:19)
|
||
at Resolver.getMockModule (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:900:33)
|
||
at Resolver._isModuleResolved (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1011:50)
|
||
at Resolver._getAbsolutePath (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:984:17)
|
||
at Resolver.getModuleID (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:949:31)
|
||
at Runtime._shouldMockCjs (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:1486:37)
|
||
at Runtime.requireModuleOrMock (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:961:16)
|
||
at /workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:93:46
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:93:46)</failure>
|
||
</testcase>
|
||
<testcase classname="Init Command › generateEnvironmentConfigs" name="should handle empty environment list" time="0.001">
|
||
<failure>Error: Configuration error:
|
||
|
||
Could not locate module ../../../src/cli/commands/init.js mapped as:
|
||
$1.
|
||
|
||
Please check your configuration for these entries:
|
||
{
|
||
"moduleNameMapper": {
|
||
"/^(\.{1,2}\/.*)\.js$/": "$1"
|
||
},
|
||
"resolver": undefined
|
||
}
|
||
at createNoMappedModuleFoundError (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1117:17)
|
||
at Resolver.resolveStubModuleName (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1053:19)
|
||
at Resolver.getMockModule (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:900:33)
|
||
at Resolver._isModuleResolved (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1011:50)
|
||
at Resolver._getAbsolutePath (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:984:17)
|
||
at Resolver.getModuleID (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:949:31)
|
||
at Runtime._shouldMockCjs (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:1486:37)
|
||
at Runtime.requireModuleOrMock (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:961:16)
|
||
at /workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:110:46
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:110:46)</failure>
|
||
</testcase>
|
||
<testcase classname="Init Command › generateEnvironmentConfigs" name="should validate environment names" time="0.001">
|
||
<failure>Error: Configuration error:
|
||
|
||
Could not locate module ../../../src/cli/commands/init.js mapped as:
|
||
$1.
|
||
|
||
Please check your configuration for these entries:
|
||
{
|
||
"moduleNameMapper": {
|
||
"/^(\.{1,2}\/.*)\.js$/": "$1"
|
||
},
|
||
"resolver": undefined
|
||
}
|
||
at createNoMappedModuleFoundError (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1117:17)
|
||
at Resolver.resolveStubModuleName (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1053:19)
|
||
at Resolver.getMockModule (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:900:33)
|
||
at Resolver._isModuleResolved (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1011:50)
|
||
at Resolver._getAbsolutePath (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:984:17)
|
||
at Resolver.getModuleID (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:949:31)
|
||
at Runtime._shouldMockCjs (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:1486:37)
|
||
at Runtime.requireModuleOrMock (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:961:16)
|
||
at /workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:126:46
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:126:46)</failure>
|
||
</testcase>
|
||
<testcase classname="Init Command › generateEnvironmentConfigs" name="should handle special characters in project name" time="0.001">
|
||
<failure>Error: Configuration error:
|
||
|
||
Could not locate module ../../../src/cli/commands/init.js mapped as:
|
||
$1.
|
||
|
||
Please check your configuration for these entries:
|
||
{
|
||
"moduleNameMapper": {
|
||
"/^(\.{1,2}\/.*)\.js$/": "$1"
|
||
},
|
||
"resolver": undefined
|
||
}
|
||
at createNoMappedModuleFoundError (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1117:17)
|
||
at Resolver.resolveStubModuleName (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1053:19)
|
||
at Resolver.getMockModule (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:900:33)
|
||
at Resolver._isModuleResolved (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1011:50)
|
||
at Resolver._getAbsolutePath (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:984:17)
|
||
at Resolver.getModuleID (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:949:31)
|
||
at Runtime._shouldMockCjs (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:1486:37)
|
||
at Runtime.requireModuleOrMock (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:961:16)
|
||
at /workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:138:46
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:138:46)</failure>
|
||
</testcase>
|
||
<testcase classname="Init Command › generateEnvironmentConfigs" name="should merge custom config overrides" time="0.001">
|
||
<failure>Error: Configuration error:
|
||
|
||
Could not locate module ../../../src/cli/commands/init.js mapped as:
|
||
$1.
|
||
|
||
Please check your configuration for these entries:
|
||
{
|
||
"moduleNameMapper": {
|
||
"/^(\.{1,2}\/.*)\.js$/": "$1"
|
||
},
|
||
"resolver": undefined
|
||
}
|
||
at createNoMappedModuleFoundError (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1117:17)
|
||
at Resolver.resolveStubModuleName (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1053:19)
|
||
at Resolver.getMockModule (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:900:33)
|
||
at Resolver._isModuleResolved (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1011:50)
|
||
at Resolver._getAbsolutePath (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:984:17)
|
||
at Resolver.getModuleID (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:949:31)
|
||
at Runtime._shouldMockCjs (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:1486:37)
|
||
at Runtime.requireModuleOrMock (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:961:16)
|
||
at /workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:154:46
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:154:46)</failure>
|
||
</testcase>
|
||
<testcase classname="Init Command › Full Init Command Execution" name="should execute init command successfully" time="0.002">
|
||
<failure>Error: Configuration error:
|
||
|
||
Could not locate module ../../../src/cli/commands/init.js mapped as:
|
||
$1.
|
||
|
||
Please check your configuration for these entries:
|
||
{
|
||
"moduleNameMapper": {
|
||
"/^(\.{1,2}\/.*)\.js$/": "$1"
|
||
},
|
||
"resolver": undefined
|
||
}
|
||
at createNoMappedModuleFoundError (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1117:17)
|
||
at Resolver.resolveStubModuleName (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1053:19)
|
||
at Resolver.getMockModule (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:900:33)
|
||
at Resolver._isModuleResolved (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1011:50)
|
||
at Resolver._getAbsolutePath (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:984:17)
|
||
at Resolver.getModuleID (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:949:31)
|
||
at Runtime._shouldMockCjs (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:1486:37)
|
||
at Runtime.requireModuleOrMock (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:961:16)
|
||
at /workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:184:31
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:184:31)</failure>
|
||
</testcase>
|
||
<testcase classname="Init Command › Full Init Command Execution" name="should create config directory structure" time="0.001">
|
||
<failure>Error: Configuration error:
|
||
|
||
Could not locate module ../../../src/cli/commands/init.js mapped as:
|
||
$1.
|
||
|
||
Please check your configuration for these entries:
|
||
{
|
||
"moduleNameMapper": {
|
||
"/^(\.{1,2}\/.*)\.js$/": "$1"
|
||
},
|
||
"resolver": undefined
|
||
}
|
||
at createNoMappedModuleFoundError (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1117:17)
|
||
at Resolver.resolveStubModuleName (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1053:19)
|
||
at Resolver.getMockModule (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:900:33)
|
||
at Resolver._isModuleResolved (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1011:50)
|
||
at Resolver._getAbsolutePath (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:984:17)
|
||
at Resolver.getModuleID (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:949:31)
|
||
at Runtime._shouldMockCjs (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:1486:37)
|
||
at Runtime.requireModuleOrMock (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:961:16)
|
||
at /workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:200:31
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:200:31)</failure>
|
||
</testcase>
|
||
<testcase classname="Init Command › Full Init Command Execution" name="should write environment config files" time="0.002">
|
||
<failure>Error: Configuration error:
|
||
|
||
Could not locate module ../../../src/cli/commands/init.js mapped as:
|
||
$1.
|
||
|
||
Please check your configuration for these entries:
|
||
{
|
||
"moduleNameMapper": {
|
||
"/^(\.{1,2}\/.*)\.js$/": "$1"
|
||
},
|
||
"resolver": undefined
|
||
}
|
||
at createNoMappedModuleFoundError (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1117:17)
|
||
at Resolver.resolveStubModuleName (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1053:19)
|
||
at Resolver.getMockModule (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:900:33)
|
||
at Resolver._isModuleResolved (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1011:50)
|
||
at Resolver._getAbsolutePath (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:984:17)
|
||
at Resolver.getModuleID (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:949:31)
|
||
at Runtime._shouldMockCjs (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:1486:37)
|
||
at Runtime.requireModuleOrMock (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:961:16)
|
||
at /workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:223:31
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:223:31)</failure>
|
||
</testcase>
|
||
<testcase classname="Init Command › Full Init Command Execution" name="should handle existing directory gracefully" time="0.001">
|
||
<failure>Error: Configuration error:
|
||
|
||
Could not locate module ../../../src/cli/commands/init.js mapped as:
|
||
$1.
|
||
|
||
Please check your configuration for these entries:
|
||
{
|
||
"moduleNameMapper": {
|
||
"/^(\.{1,2}\/.*)\.js$/": "$1"
|
||
},
|
||
"resolver": undefined
|
||
}
|
||
at createNoMappedModuleFoundError (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1117:17)
|
||
at Resolver.resolveStubModuleName (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1053:19)
|
||
at Resolver.getMockModule (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:900:33)
|
||
at Resolver._isModuleResolved (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1011:50)
|
||
at Resolver._getAbsolutePath (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:984:17)
|
||
at Resolver.getModuleID (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:949:31)
|
||
at Runtime._shouldMockCjs (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:1486:37)
|
||
at Runtime.requireModuleOrMock (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:961:16)
|
||
at /workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:250:31
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:250:31)</failure>
|
||
</testcase>
|
||
<testcase classname="Init Command › Full Init Command Execution" name="should overwrite with force flag" time="0.001">
|
||
<failure>Error: Configuration error:
|
||
|
||
Could not locate module ../../../src/cli/commands/init.js mapped as:
|
||
$1.
|
||
|
||
Please check your configuration for these entries:
|
||
{
|
||
"moduleNameMapper": {
|
||
"/^(\.{1,2}\/.*)\.js$/": "$1"
|
||
},
|
||
"resolver": undefined
|
||
}
|
||
at createNoMappedModuleFoundError (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1117:17)
|
||
at Resolver.resolveStubModuleName (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1053:19)
|
||
at Resolver.getMockModule (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:900:33)
|
||
at Resolver._isModuleResolved (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1011:50)
|
||
at Resolver._getAbsolutePath (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:984:17)
|
||
at Resolver.getModuleID (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:949:31)
|
||
at Runtime._shouldMockCjs (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:1486:37)
|
||
at Runtime.requireModuleOrMock (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:961:16)
|
||
at /workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:264:31
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:264:31)</failure>
|
||
</testcase>
|
||
<testcase classname="Init Command › Full Init Command Execution" name="should create fleet.json config" time="0.001">
|
||
<failure>Error: Configuration error:
|
||
|
||
Could not locate module ../../../src/cli/commands/init.js mapped as:
|
||
$1.
|
||
|
||
Please check your configuration for these entries:
|
||
{
|
||
"moduleNameMapper": {
|
||
"/^(\.{1,2}\/.*)\.js$/": "$1"
|
||
},
|
||
"resolver": undefined
|
||
}
|
||
at createNoMappedModuleFoundError (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1117:17)
|
||
at Resolver.resolveStubModuleName (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1053:19)
|
||
at Resolver.getMockModule (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:900:33)
|
||
at Resolver._isModuleResolved (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1011:50)
|
||
at Resolver._getAbsolutePath (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:984:17)
|
||
at Resolver.getModuleID (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:949:31)
|
||
at Runtime._shouldMockCjs (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:1486:37)
|
||
at Runtime.requireModuleOrMock (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:961:16)
|
||
at /workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:280:31
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:280:31)</failure>
|
||
</testcase>
|
||
<testcase classname="Init Command › Full Init Command Execution" name="should create routing.json config" time="0.01">
|
||
<failure>Error: Configuration error:
|
||
|
||
Could not locate module ../../../src/cli/commands/init.js mapped as:
|
||
$1.
|
||
|
||
Please check your configuration for these entries:
|
||
{
|
||
"moduleNameMapper": {
|
||
"/^(\.{1,2}\/.*)\.js$/": "$1"
|
||
},
|
||
"resolver": undefined
|
||
}
|
||
at createNoMappedModuleFoundError (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1117:17)
|
||
at Resolver.resolveStubModuleName (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1053:19)
|
||
at Resolver.getMockModule (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:900:33)
|
||
at Resolver._isModuleResolved (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1011:50)
|
||
at Resolver._getAbsolutePath (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:984:17)
|
||
at Resolver.getModuleID (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:949:31)
|
||
at Runtime._shouldMockCjs (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:1486:37)
|
||
at Runtime.requireModuleOrMock (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:961:16)
|
||
at /workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:299:31
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:299:31)</failure>
|
||
</testcase>
|
||
<testcase classname="Init Command › Full Init Command Execution" name="should create aqe-hooks.json config" time="0.001">
|
||
<failure>Error: Configuration error:
|
||
|
||
Could not locate module ../../../src/cli/commands/init.js mapped as:
|
||
$1.
|
||
|
||
Please check your configuration for these entries:
|
||
{
|
||
"moduleNameMapper": {
|
||
"/^(\.{1,2}\/.*)\.js$/": "$1"
|
||
},
|
||
"resolver": undefined
|
||
}
|
||
at createNoMappedModuleFoundError (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1117:17)
|
||
at Resolver.resolveStubModuleName (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1053:19)
|
||
at Resolver.getMockModule (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:900:33)
|
||
at Resolver._isModuleResolved (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1011:50)
|
||
at Resolver._getAbsolutePath (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:984:17)
|
||
at Resolver.getModuleID (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:949:31)
|
||
at Runtime._shouldMockCjs (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:1486:37)
|
||
at Runtime.requireModuleOrMock (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:961:16)
|
||
at /workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:318:31
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:318:31)</failure>
|
||
</testcase>
|
||
<testcase classname="Init Command › Full Init Command Execution" name="should handle file write errors" time="0.001">
|
||
<failure>Error: Configuration error:
|
||
|
||
Could not locate module ../../../src/cli/commands/init.js mapped as:
|
||
$1.
|
||
|
||
Please check your configuration for these entries:
|
||
{
|
||
"moduleNameMapper": {
|
||
"/^(\.{1,2}\/.*)\.js$/": "$1"
|
||
},
|
||
"resolver": undefined
|
||
}
|
||
at createNoMappedModuleFoundError (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1117:17)
|
||
at Resolver.resolveStubModuleName (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1053:19)
|
||
at Resolver.getMockModule (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:900:33)
|
||
at Resolver._isModuleResolved (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1011:50)
|
||
at Resolver._getAbsolutePath (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:984:17)
|
||
at Resolver.getModuleID (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:949:31)
|
||
at Runtime._shouldMockCjs (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:1486:37)
|
||
at Runtime.requireModuleOrMock (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:961:16)
|
||
at /workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:338:31
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:338:31)</failure>
|
||
</testcase>
|
||
<testcase classname="Init Command › Full Init Command Execution" name="should validate project name format" time="0.001">
|
||
<failure>Error: Configuration error:
|
||
|
||
Could not locate module ../../../src/cli/commands/init.js mapped as:
|
||
$1.
|
||
|
||
Please check your configuration for these entries:
|
||
{
|
||
"moduleNameMapper": {
|
||
"/^(\.{1,2}\/.*)\.js$/": "$1"
|
||
},
|
||
"resolver": undefined
|
||
}
|
||
at createNoMappedModuleFoundError (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1117:17)
|
||
at Resolver.resolveStubModuleName (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1053:19)
|
||
at Resolver.getMockModule (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:900:33)
|
||
at Resolver._isModuleResolved (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1011:50)
|
||
at Resolver._getAbsolutePath (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:984:17)
|
||
at Resolver.getModuleID (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:949:31)
|
||
at Runtime._shouldMockCjs (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:1486:37)
|
||
at Runtime.requireModuleOrMock (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:961:16)
|
||
at /workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:350:31
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:350:31)</failure>
|
||
</testcase>
|
||
<testcase classname="Init Command › Full Init Command Execution" name="should use current directory if no outputDir specified" time="0.001">
|
||
<failure>Error: Configuration error:
|
||
|
||
Could not locate module ../../../src/cli/commands/init.js mapped as:
|
||
$1.
|
||
|
||
Please check your configuration for these entries:
|
||
{
|
||
"moduleNameMapper": {
|
||
"/^(\.{1,2}\/.*)\.js$/": "$1"
|
||
},
|
||
"resolver": undefined
|
||
}
|
||
at createNoMappedModuleFoundError (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1117:17)
|
||
at Resolver.resolveStubModuleName (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1053:19)
|
||
at Resolver.getMockModule (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:900:33)
|
||
at Resolver._isModuleResolved (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1011:50)
|
||
at Resolver._getAbsolutePath (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:984:17)
|
||
at Resolver.getModuleID (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:949:31)
|
||
at Runtime._shouldMockCjs (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:1486:37)
|
||
at Runtime.requireModuleOrMock (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:961:16)
|
||
at /workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:362:31
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:362:31)</failure>
|
||
</testcase>
|
||
<testcase classname="Init Command › Environment Config Structure" name="should have valid JSON structure" time="0">
|
||
<failure>Error: Configuration error:
|
||
|
||
Could not locate module ../../../src/cli/commands/init.js mapped as:
|
||
$1.
|
||
|
||
Please check your configuration for these entries:
|
||
{
|
||
"moduleNameMapper": {
|
||
"/^(\.{1,2}\/.*)\.js$/": "$1"
|
||
},
|
||
"resolver": undefined
|
||
}
|
||
at createNoMappedModuleFoundError (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1117:17)
|
||
at Resolver.resolveStubModuleName (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1053:19)
|
||
at Resolver.getMockModule (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:900:33)
|
||
at Resolver._isModuleResolved (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1011:50)
|
||
at Resolver._getAbsolutePath (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:984:17)
|
||
at Resolver.getModuleID (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:949:31)
|
||
at Runtime._shouldMockCjs (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:1486:37)
|
||
at Runtime.requireModuleOrMock (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:961:16)
|
||
at /workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:381:46
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:381:46)</failure>
|
||
</testcase>
|
||
<testcase classname="Init Command › Environment Config Structure" name="should include metadata" time="0">
|
||
<failure>Error: Configuration error:
|
||
|
||
Could not locate module ../../../src/cli/commands/init.js mapped as:
|
||
$1.
|
||
|
||
Please check your configuration for these entries:
|
||
{
|
||
"moduleNameMapper": {
|
||
"/^(\.{1,2}\/.*)\.js$/": "$1"
|
||
},
|
||
"resolver": undefined
|
||
}
|
||
at createNoMappedModuleFoundError (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1117:17)
|
||
at Resolver.resolveStubModuleName (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1053:19)
|
||
at Resolver.getMockModule (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:900:33)
|
||
at Resolver._isModuleResolved (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1011:50)
|
||
at Resolver._getAbsolutePath (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:984:17)
|
||
at Resolver.getModuleID (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:949:31)
|
||
at Runtime._shouldMockCjs (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:1486:37)
|
||
at Runtime.requireModuleOrMock (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:961:16)
|
||
at /workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:398:46
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:398:46)</failure>
|
||
</testcase>
|
||
<testcase classname="Init Command › Environment Config Structure" name="should validate config schema" time="0">
|
||
<failure>Error: Configuration error:
|
||
|
||
Could not locate module ../../../src/cli/commands/init.js mapped as:
|
||
$1.
|
||
|
||
Please check your configuration for these entries:
|
||
{
|
||
"moduleNameMapper": {
|
||
"/^(\.{1,2}\/.*)\.js$/": "$1"
|
||
},
|
||
"resolver": undefined
|
||
}
|
||
at createNoMappedModuleFoundError (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1117:17)
|
||
at Resolver.resolveStubModuleName (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1053:19)
|
||
at Resolver.getMockModule (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:900:33)
|
||
at Resolver._isModuleResolved (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1011:50)
|
||
at Resolver._getAbsolutePath (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:984:17)
|
||
at Resolver.getModuleID (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:949:31)
|
||
at Runtime._shouldMockCjs (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:1486:37)
|
||
at Runtime.requireModuleOrMock (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:961:16)
|
||
at /workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:415:46
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:415:46)</failure>
|
||
</testcase>
|
||
<testcase classname="Init Command › Environment Config Structure" name="should have valid timeout values" time="0.001">
|
||
<failure>Error: Configuration error:
|
||
|
||
Could not locate module ../../../src/cli/commands/init.js mapped as:
|
||
$1.
|
||
|
||
Please check your configuration for these entries:
|
||
{
|
||
"moduleNameMapper": {
|
||
"/^(\.{1,2}\/.*)\.js$/": "$1"
|
||
},
|
||
"resolver": undefined
|
||
}
|
||
at createNoMappedModuleFoundError (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1117:17)
|
||
at Resolver.resolveStubModuleName (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1053:19)
|
||
at Resolver.getMockModule (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:900:33)
|
||
at Resolver._isModuleResolved (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1011:50)
|
||
at Resolver._getAbsolutePath (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:984:17)
|
||
at Resolver.getModuleID (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:949:31)
|
||
at Runtime._shouldMockCjs (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:1486:37)
|
||
at Runtime.requireModuleOrMock (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:961:16)
|
||
at /workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:435:46
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:435:46)</failure>
|
||
</testcase>
|
||
<testcase classname="Init Command › Environment Config Structure" name="should have valid retry attempts" time="0.001">
|
||
<failure>Error: Configuration error:
|
||
|
||
Could not locate module ../../../src/cli/commands/init.js mapped as:
|
||
$1.
|
||
|
||
Please check your configuration for these entries:
|
||
{
|
||
"moduleNameMapper": {
|
||
"/^(\.{1,2}\/.*)\.js$/": "$1"
|
||
},
|
||
"resolver": undefined
|
||
}
|
||
at createNoMappedModuleFoundError (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1117:17)
|
||
at Resolver.resolveStubModuleName (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1053:19)
|
||
at Resolver.getMockModule (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:900:33)
|
||
at Resolver._isModuleResolved (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1011:50)
|
||
at Resolver._getAbsolutePath (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:984:17)
|
||
at Resolver.getModuleID (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:949:31)
|
||
at Runtime._shouldMockCjs (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:1486:37)
|
||
at Runtime.requireModuleOrMock (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:961:16)
|
||
at /workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:453:46
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:453:46)</failure>
|
||
</testcase>
|
||
<testcase classname="Init Command › Environment Config Structure" name="should have valid log levels" time="0.001">
|
||
<failure>Error: Configuration error:
|
||
|
||
Could not locate module ../../../src/cli/commands/init.js mapped as:
|
||
$1.
|
||
|
||
Please check your configuration for these entries:
|
||
{
|
||
"moduleNameMapper": {
|
||
"/^(\.{1,2}\/.*)\.js$/": "$1"
|
||
},
|
||
"resolver": undefined
|
||
}
|
||
at createNoMappedModuleFoundError (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1117:17)
|
||
at Resolver.resolveStubModuleName (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1053:19)
|
||
at Resolver.getMockModule (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:900:33)
|
||
at Resolver._isModuleResolved (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1011:50)
|
||
at Resolver._getAbsolutePath (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:984:17)
|
||
at Resolver.getModuleID (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:949:31)
|
||
at Runtime._shouldMockCjs (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:1486:37)
|
||
at Runtime.requireModuleOrMock (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:961:16)
|
||
at /workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:469:46
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:469:46)</failure>
|
||
</testcase>
|
||
<testcase classname="Init Command › Error Handling" name="should handle invalid output directory" time="0.001">
|
||
<failure>Error: Configuration error:
|
||
|
||
Could not locate module ../../../src/cli/commands/init.js mapped as:
|
||
$1.
|
||
|
||
Please check your configuration for these entries:
|
||
{
|
||
"moduleNameMapper": {
|
||
"/^(\.{1,2}\/.*)\.js$/": "$1"
|
||
},
|
||
"resolver": undefined
|
||
}
|
||
at createNoMappedModuleFoundError (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1117:17)
|
||
at Resolver.resolveStubModuleName (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1053:19)
|
||
at Resolver.getMockModule (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:900:33)
|
||
at Resolver._isModuleResolved (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1011:50)
|
||
at Resolver._getAbsolutePath (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:984:17)
|
||
at Resolver.getModuleID (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:949:31)
|
||
at Runtime._shouldMockCjs (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:1486:37)
|
||
at Runtime.requireModuleOrMock (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:961:16)
|
||
at /workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:489:31
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:489:31)</failure>
|
||
</testcase>
|
||
<testcase classname="Init Command › Error Handling" name="should handle filesystem errors gracefully" time="0.001">
|
||
<failure>Error: Configuration error:
|
||
|
||
Could not locate module ../../../src/cli/commands/init.js mapped as:
|
||
$1.
|
||
|
||
Please check your configuration for these entries:
|
||
{
|
||
"moduleNameMapper": {
|
||
"/^(\.{1,2}\/.*)\.js$/": "$1"
|
||
},
|
||
"resolver": undefined
|
||
}
|
||
at createNoMappedModuleFoundError (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1117:17)
|
||
at Resolver.resolveStubModuleName (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1053:19)
|
||
at Resolver.getMockModule (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:900:33)
|
||
at Resolver._isModuleResolved (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1011:50)
|
||
at Resolver._getAbsolutePath (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:984:17)
|
||
at Resolver.getModuleID (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:949:31)
|
||
at Runtime._shouldMockCjs (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:1486:37)
|
||
at Runtime.requireModuleOrMock (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:961:16)
|
||
at /workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:502:31
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:502:31)</failure>
|
||
</testcase>
|
||
<testcase classname="Init Command › Error Handling" name="should rollback on partial failure" time="0.002">
|
||
<failure>Error: Configuration error:
|
||
|
||
Could not locate module ../../../src/cli/commands/init.js mapped as:
|
||
$1.
|
||
|
||
Please check your configuration for these entries:
|
||
{
|
||
"moduleNameMapper": {
|
||
"/^(\.{1,2}\/.*)\.js$/": "$1"
|
||
},
|
||
"resolver": undefined
|
||
}
|
||
at createNoMappedModuleFoundError (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1117:17)
|
||
at Resolver.resolveStubModuleName (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1053:19)
|
||
at Resolver.getMockModule (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:900:33)
|
||
at Resolver._isModuleResolved (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1011:50)
|
||
at Resolver._getAbsolutePath (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:984:17)
|
||
at Resolver.getModuleID (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:949:31)
|
||
at Runtime._shouldMockCjs (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:1486:37)
|
||
at Runtime.requireModuleOrMock (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:961:16)
|
||
at /workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:522:31
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:522:31)</failure>
|
||
</testcase>
|
||
<testcase classname="Init Command › Backward Compatibility" name="should support legacy config format" time="0.001">
|
||
<failure>Error: Configuration error:
|
||
|
||
Could not locate module ../../../src/cli/commands/init.js mapped as:
|
||
$1.
|
||
|
||
Please check your configuration for these entries:
|
||
{
|
||
"moduleNameMapper": {
|
||
"/^(\.{1,2}\/.*)\.js$/": "$1"
|
||
},
|
||
"resolver": undefined
|
||
}
|
||
at createNoMappedModuleFoundError (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1117:17)
|
||
at Resolver.resolveStubModuleName (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1053:19)
|
||
at Resolver.getMockModule (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:900:33)
|
||
at Resolver._isModuleResolved (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1011:50)
|
||
at Resolver._getAbsolutePath (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:984:17)
|
||
at Resolver.getModuleID (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:949:31)
|
||
at Runtime._shouldMockCjs (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:1486:37)
|
||
at Runtime.requireModuleOrMock (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:961:16)
|
||
at /workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:545:46
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:545:46)</failure>
|
||
</testcase>
|
||
<testcase classname="Init Command › Backward Compatibility" name="should migrate from v1 config format" time="0.001">
|
||
<failure>Error: Configuration error:
|
||
|
||
Could not locate module ../../../src/cli/commands/init.js mapped as:
|
||
$1.
|
||
|
||
Please check your configuration for these entries:
|
||
{
|
||
"moduleNameMapper": {
|
||
"/^(\.{1,2}\/.*)\.js$/": "$1"
|
||
},
|
||
"resolver": undefined
|
||
}
|
||
at createNoMappedModuleFoundError (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1117:17)
|
||
at Resolver.resolveStubModuleName (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1053:19)
|
||
at Resolver.getMockModule (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:900:33)
|
||
at Resolver._isModuleResolved (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:1011:50)
|
||
at Resolver._getAbsolutePath (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:984:17)
|
||
at Resolver.getModuleID (/workspaces/agentic-qe-cf/node_modules/jest-resolve/build/index.js:949:31)
|
||
at Runtime._shouldMockCjs (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:1486:37)
|
||
at Runtime.requireModuleOrMock (/workspaces/agentic-qe-cf/node_modules/jest-runtime/build/index.js:961:16)
|
||
at /workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:562:33
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/cli/commands/init.test.ts:562:33)</failure>
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="Learning Handlers - RED Phase" errors="0" failures="22" skipped="0" timestamp="2025-12-11T20:03:13" time="0.562" tests="49">
|
||
<testcase classname="Learning Handlers - RED Phase › LearningStoreExperienceHandler › handle - Basic Experience Storage" name="should store experience with valid data" time="0.005">
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningStoreExperienceHandler › handle - Basic Experience Storage" name="should store experience with metadata" time="0.001">
|
||
<failure>Error: expect(received).toHaveBeenCalled()
|
||
|
||
Matcher error: received value must be a mock or spy function
|
||
|
||
Received has type: function
|
||
Received has value: [Function prepare]
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/mcp/handlers/learning/learning-handlers.test.ts:102:32)</failure>
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningStoreExperienceHandler › handle - Basic Experience Storage" name="should store experience with custom timestamp" time="0.002">
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningStoreExperienceHandler › handle - Validation" name="should reject missing agentId" time="0.004">
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningStoreExperienceHandler › handle - Validation" name="should reject missing taskType" time="0.002">
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningStoreExperienceHandler › handle - Validation" name="should reject missing reward" time="0.002">
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningStoreExperienceHandler › handle - Validation" name="should reject reward below 0" time="0.002">
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningStoreExperienceHandler › handle - Validation" name="should reject reward above 1" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningStoreExperienceHandler › handle - Validation" name="should reject non-object outcome" time="0.002">
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningStoreExperienceHandler › Boundary Tests - Reward Values" name="should handle minimum valid reward (0)" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningStoreExperienceHandler › Boundary Tests - Reward Values" name="should handle maximum valid reward (1)" time="0.006">
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningStoreExperienceHandler › Event Emission" name="should emit event when experience is stored" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningStoreQValueHandler › handle - Basic Q-Value Storage" name="should store Q-value with valid data" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningStoreQValueHandler › handle - Basic Q-Value Storage" name="should update existing Q-value" time="0.001">
|
||
<failure>TypeError: mockDb.get.mockReturnValue is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/mcp/handlers/learning/learning-handlers.test.ts:339:20)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningStoreQValueHandler › handle - Basic Q-Value Storage" name="should store Q-value with metadata" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningStoreQValueHandler › handle - Validation" name="should reject missing agentId" time="0.002">
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningStoreQValueHandler › handle - Validation" name="should reject missing stateKey" time="0.002">
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningStoreQValueHandler › handle - Validation" name="should reject non-number qValue" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningStoreQValueHandler › Event Emission" name="should emit event when Q-value is stored" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningStorePatternHandler › handle - Basic Pattern Storage" name="should store pattern with valid data" time="0.002">
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningStorePatternHandler › handle - Basic Pattern Storage" name="should store pattern with agent ID" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningStorePatternHandler › handle - Basic Pattern Storage" name="should update existing pattern" time="0.001">
|
||
<failure>TypeError: mockDb.get.mockReturnValue is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/mcp/handlers/learning/learning-handlers.test.ts:510:20)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningStorePatternHandler › handle - Basic Pattern Storage" name="should store pattern with domain" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningStorePatternHandler › handle - Validation" name="should reject missing pattern" time="0.002">
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningStorePatternHandler › handle - Validation" name="should reject empty pattern string" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningStorePatternHandler › handle - Validation" name="should reject confidence below 0" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningStorePatternHandler › handle - Validation" name="should reject confidence above 1" time="0.002">
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningStorePatternHandler › Boundary Tests - Confidence Values" name="should handle minimum valid confidence (0)" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningStorePatternHandler › Boundary Tests - Confidence Values" name="should handle maximum valid confidence (1)" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningStorePatternHandler › Event Emission" name="should emit event when pattern is stored" time="0.002">
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningQueryHandler › handle - Query Experiences" name="should query all experiences" time="0.001">
|
||
<failure>TypeError: mockDb.all.mockReturnValue is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/mcp/handlers/learning/learning-handlers.test.ts:690:20)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningQueryHandler › handle - Query Experiences" name="should filter experiences by agentId" time="0.001">
|
||
<failure>TypeError: mockDb.all.mockReturnValue is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/mcp/handlers/learning/learning-handlers.test.ts:712:20)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningQueryHandler › handle - Query Experiences" name="should filter experiences by taskType" time="0.001">
|
||
<failure>TypeError: mockDb.all.mockReturnValue is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/mcp/handlers/learning/learning-handlers.test.ts:732:20)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningQueryHandler › handle - Query Experiences" name="should filter experiences by minimum reward" time="0.001">
|
||
<failure>TypeError: mockDb.all.mockReturnValue is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/mcp/handlers/learning/learning-handlers.test.ts:751:20)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningQueryHandler › handle - Query Q-Values" name="should query all Q-values" time="0">
|
||
<failure>TypeError: mockDb.all.mockReturnValue is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/mcp/handlers/learning/learning-handlers.test.ts:772:20)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningQueryHandler › handle - Query Q-Values" name="should filter Q-values by agentId" time="0.001">
|
||
<failure>TypeError: mockDb.all.mockReturnValue is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/mcp/handlers/learning/learning-handlers.test.ts:794:20)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningQueryHandler › handle - Query Patterns" name="should query all patterns" time="0.001">
|
||
<failure>TypeError: mockDb.all.mockImplementation is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/mcp/handlers/learning/learning-handlers.test.ts:815:20)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningQueryHandler › handle - Query Patterns" name="should handle patterns table without agent_id column" time="0.001">
|
||
<failure>TypeError: mockDb.all.mockImplementation is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/mcp/handlers/learning/learning-handlers.test.ts:841:20)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningQueryHandler › handle - Query All Learning Data" name="should query all learning data types" time="0.001">
|
||
<failure>TypeError: mockDb.all.mockImplementation is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/mcp/handlers/learning/learning-handlers.test.ts:867:20)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningQueryHandler › handle - Query All Learning Data" name="should calculate statistics for all query" time="0.001">
|
||
<failure>TypeError: mockDb.all.mockImplementation is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/mcp/handlers/learning/learning-handlers.test.ts:895:20)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningQueryHandler › handle - Pagination" name="should support limit parameter" time="0.001">
|
||
<failure>TypeError: mockDb.all.mockReturnValue is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/mcp/handlers/learning/learning-handlers.test.ts:923:20)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningQueryHandler › handle - Pagination" name="should support offset parameter" time="0.001">
|
||
<failure>TypeError: mockDb.all.mockReturnValue is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/mcp/handlers/learning/learning-handlers.test.ts:942:20)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningQueryHandler › handle - Pagination" name="should use default limit if not specified" time="0.001">
|
||
<failure>TypeError: mockDb.all.mockReturnValue is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/mcp/handlers/learning/learning-handlers.test.ts:961:20)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningQueryHandler › handle - Time Range Filtering" name="should filter by start time" time="0.009">
|
||
<failure>TypeError: mockDb.all.mockReturnValue is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/mcp/handlers/learning/learning-handlers.test.ts:981:20)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningQueryHandler › handle - Time Range Filtering" name="should filter by end time" time="0">
|
||
<failure>TypeError: mockDb.all.mockReturnValue is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/mcp/handlers/learning/learning-handlers.test.ts:1002:20)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningQueryHandler › handle - Time Range Filtering" name="should filter by time range (start and end)" time="0.001">
|
||
<failure>TypeError: mockDb.all.mockReturnValue is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/mcp/handlers/learning/learning-handlers.test.ts:1023:20)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningQueryHandler › Edge Cases" name="should handle empty query results" time="0">
|
||
<failure>TypeError: mockDb.all.mockReturnValue is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/mcp/handlers/learning/learning-handlers.test.ts:1047:20)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningQueryHandler › Edge Cases" name="should handle malformed JSON in database" time="0.001">
|
||
<failure>TypeError: mockDb.all.mockReturnValue is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/mcp/handlers/learning/learning-handlers.test.ts:1066:20)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="Learning Handlers - RED Phase › LearningQueryHandler › Edge Cases" name="should handle patterns table query failure" time="0">
|
||
<failure>TypeError: mockDb.all.mockImplementation is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/mcp/handlers/learning/learning-handlers.test.ts:1087:20)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="DeploymentReadinessCheckHandler - RED Phase" errors="0" failures="3" skipped="0" timestamp="2025-12-11T20:03:13" time="0.53" tests="27">
|
||
<testcase classname="DeploymentReadinessCheckHandler - RED Phase › handle - Basic Deployment Readiness" name="should check deployment readiness with valid deployment info" time="0.005">
|
||
</testcase>
|
||
<testcase classname="DeploymentReadinessCheckHandler - RED Phase › handle - Basic Deployment Readiness" name="should check production deployment with strict criteria" time="0.001">
|
||
</testcase>
|
||
<testcase classname="DeploymentReadinessCheckHandler - RED Phase › handle - Basic Deployment Readiness" name="should check development deployment with relaxed criteria" time="0.001">
|
||
</testcase>
|
||
<testcase classname="DeploymentReadinessCheckHandler - RED Phase › handle - Validation" name="should reject deployment without repository" time="0.009">
|
||
</testcase>
|
||
<testcase classname="DeploymentReadinessCheckHandler - RED Phase › handle - Validation" name="should reject deployment without branch" time="0.001">
|
||
</testcase>
|
||
<testcase classname="DeploymentReadinessCheckHandler - RED Phase › handle - Validation" name="should reject missing deployment object" time="0.001">
|
||
</testcase>
|
||
<testcase classname="DeploymentReadinessCheckHandler - RED Phase › handle - Quality Checks" name="should perform test results check when enabled" time="0">
|
||
</testcase>
|
||
<testcase classname="DeploymentReadinessCheckHandler - RED Phase › handle - Quality Checks" name="should perform security check when enabled" time="0.001">
|
||
</testcase>
|
||
<testcase classname="DeploymentReadinessCheckHandler - RED Phase › handle - Quality Checks" name="should perform code quality check when enabled" time="0.001">
|
||
</testcase>
|
||
<testcase classname="DeploymentReadinessCheckHandler - RED Phase › handle - Quality Checks" name="should perform performance check when enabled" time="0.001">
|
||
</testcase>
|
||
<testcase classname="DeploymentReadinessCheckHandler - RED Phase › handle - Quality Checks" name="should perform dependencies check when enabled" time="0">
|
||
</testcase>
|
||
<testcase classname="DeploymentReadinessCheckHandler - RED Phase › handle - Thresholds" name="should enforce minimum test coverage threshold" time="0.001">
|
||
</testcase>
|
||
<testcase classname="DeploymentReadinessCheckHandler - RED Phase › handle - Thresholds" name="should enforce maximum critical issues threshold" time="0.001">
|
||
</testcase>
|
||
<testcase classname="DeploymentReadinessCheckHandler - RED Phase › handle - Thresholds" name="should enforce maximum build time threshold" time="0.001">
|
||
</testcase>
|
||
<testcase classname="DeploymentReadinessCheckHandler - RED Phase › handle - Blockers and Warnings" name="should identify blockers in readiness check" time="0">
|
||
</testcase>
|
||
<testcase classname="DeploymentReadinessCheckHandler - RED Phase › handle - Blockers and Warnings" name="should identify warnings in readiness check" time="0.001">
|
||
</testcase>
|
||
<testcase classname="DeploymentReadinessCheckHandler - RED Phase › handle - Blockers and Warnings" name="should provide recommendations for improvement" time="0.001">
|
||
</testcase>
|
||
<testcase classname="DeploymentReadinessCheckHandler - RED Phase › handle - Metadata and Summary" name="should include analysis metadata" time="0">
|
||
</testcase>
|
||
<testcase classname="DeploymentReadinessCheckHandler - RED Phase › handle - Metadata and Summary" name="should include summary statistics" time="0.001">
|
||
</testcase>
|
||
<testcase classname="DeploymentReadinessCheckHandler - RED Phase › handle - Metadata and Summary" name="should track request ID for tracing" time="0.001">
|
||
<failure>Error: expect(received).toBeDefined()
|
||
|
||
Received: undefined
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/mcp/handlers/prediction/deployment-readiness-check.test.ts:492:32)</failure>
|
||
</testcase>
|
||
<testcase classname="DeploymentReadinessCheckHandler - RED Phase › handle - Hook Integration" name="should execute pre-task hook before check" time="0.001">
|
||
<failure>Error: expect(received).toHaveBeenCalledWith(...expected)
|
||
|
||
Matcher error: received value must be a mock or spy function
|
||
|
||
Received has type: function
|
||
Received has value: [Function executeHook]
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/mcp/handlers/prediction/deployment-readiness-check.test.ts:513:44)</failure>
|
||
</testcase>
|
||
<testcase classname="DeploymentReadinessCheckHandler - RED Phase › handle - Hook Integration" name="should execute post-task hook after check" time="0.001">
|
||
<failure>Error: expect(received).toHaveBeenCalledWith(...expected)
|
||
|
||
Matcher error: received value must be a mock or spy function
|
||
|
||
Received has type: function
|
||
Received has value: [Function executeHook]
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/mcp/handlers/prediction/deployment-readiness-check.test.ts:536:44)</failure>
|
||
</testcase>
|
||
<testcase classname="DeploymentReadinessCheckHandler - RED Phase › Boundary Tests - Readiness Score" name="should handle minimum readiness score (0)" time="0.009">
|
||
</testcase>
|
||
<testcase classname="DeploymentReadinessCheckHandler - RED Phase › Boundary Tests - Readiness Score" name="should handle maximum readiness score (100)" time="0.001">
|
||
</testcase>
|
||
<testcase classname="DeploymentReadinessCheckHandler - RED Phase › Edge Cases" name="should handle all checks disabled" time="0.001">
|
||
</testcase>
|
||
<testcase classname="DeploymentReadinessCheckHandler - RED Phase › Edge Cases" name="should handle deployment with commit hash" time="0">
|
||
</testcase>
|
||
<testcase classname="DeploymentReadinessCheckHandler - RED Phase › Edge Cases" name="should handle complex threshold configuration" time="0.001">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="FleetCommanderAgent" errors="0" failures="0" skipped="0" timestamp="2025-12-11T20:03:14" time="1.084" tests="35">
|
||
<testcase classname="FleetCommanderAgent › initialization" name="should initialize successfully with default configuration" time="0.009">
|
||
</testcase>
|
||
<testcase classname="FleetCommanderAgent › initialization" name="should have required capabilities" time="0.002">
|
||
</testcase>
|
||
<testcase classname="FleetCommanderAgent › initialization" name="should store initial topology in memory" time="0.002">
|
||
</testcase>
|
||
<testcase classname="FleetCommanderAgent › initialization" name="should initialize agent pools" time="0.001">
|
||
</testcase>
|
||
<testcase classname="FleetCommanderAgent › fleet initialization" name="should initialize fleet with configuration" time="0.006">
|
||
</testcase>
|
||
<testcase classname="FleetCommanderAgent › fleet initialization" name="should store initialization results in memory" time="0.002">
|
||
</testcase>
|
||
<testcase classname="FleetCommanderAgent › agent spawning" name="should spawn agents successfully" time="0.001">
|
||
</testcase>
|
||
<testcase classname="FleetCommanderAgent › agent spawning" name="should not exceed max pool size when spawning" time="0.02">
|
||
</testcase>
|
||
<testcase classname="FleetCommanderAgent › agent spawning" name="should not exceed fleet limit when spawning" time="0.011">
|
||
</testcase>
|
||
<testcase classname="FleetCommanderAgent › agent spawning" name="should handle agent spawned events" time="0.102">
|
||
</testcase>
|
||
<testcase classname="FleetCommanderAgent › agent termination" name="should terminate agent successfully" time="0.002">
|
||
</testcase>
|
||
<testcase classname="FleetCommanderAgent › topology management" name="should change topology from hierarchical to mesh" time="0.002">
|
||
</testcase>
|
||
<testcase classname="FleetCommanderAgent › topology management" name="should emit topology change events" time="0.001">
|
||
</testcase>
|
||
<testcase classname="FleetCommanderAgent › topology management" name="should store topology changes in memory" time="0.001">
|
||
</testcase>
|
||
<testcase classname="FleetCommanderAgent › resource allocation" name="should allocate resources for new agents" time="0.001">
|
||
</testcase>
|
||
<testcase classname="FleetCommanderAgent › load balancing" name="should rebalance workload across fleet" time="0.001">
|
||
</testcase>
|
||
<testcase classname="FleetCommanderAgent › load balancing" name="should store load balancing results in memory" time="0.002">
|
||
</testcase>
|
||
<testcase classname="FleetCommanderAgent › conflict resolution" name="should resolve resource contention conflicts" time="0.001">
|
||
</testcase>
|
||
<testcase classname="FleetCommanderAgent › conflict resolution" name="should resolve deadlock conflicts" time="0.002">
|
||
</testcase>
|
||
<testcase classname="FleetCommanderAgent › conflict resolution" name="should store conflict resolutions in memory" time="0.002">
|
||
</testcase>
|
||
<testcase classname="FleetCommanderAgent › auto-scaling" name="should scale agent pool up" time="0.001">
|
||
</testcase>
|
||
<testcase classname="FleetCommanderAgent › auto-scaling" name="should scale agent pool down" time="0.001">
|
||
</testcase>
|
||
<testcase classname="FleetCommanderAgent › fault tolerance" name="should handle agent errors" time="0.104">
|
||
</testcase>
|
||
<testcase classname="FleetCommanderAgent › fault tolerance" name="should recover failed agents" time="0.003">
|
||
</testcase>
|
||
<testcase classname="FleetCommanderAgent › fleet status and metrics" name="should return fleet status" time="0.002">
|
||
</testcase>
|
||
<testcase classname="FleetCommanderAgent › fleet status and metrics" name="should return fleet metrics" time="0.001">
|
||
</testcase>
|
||
<testcase classname="FleetCommanderAgent › fleet status and metrics" name="should get detailed status" time="0.001">
|
||
</testcase>
|
||
<testcase classname="FleetCommanderAgent › task management" name="should handle task submitted events" time="0.104">
|
||
</testcase>
|
||
<testcase classname="FleetCommanderAgent › task management" name="should handle task completed events" time="0.105">
|
||
</testcase>
|
||
<testcase classname="FleetCommanderAgent › error handling" name="should throw error for unknown task type" time="0.005">
|
||
</testcase>
|
||
<testcase classname="FleetCommanderAgent › error handling" name="should throw error for unknown agent type when spawning" time="0.003">
|
||
</testcase>
|
||
<testcase classname="FleetCommanderAgent › memory operations" name="should store and retrieve data" time="0.002">
|
||
</testcase>
|
||
<testcase classname="FleetCommanderAgent › memory operations" name="should persist state on cleanup" time="0.003">
|
||
</testcase>
|
||
<testcase classname="FleetCommanderAgent › performance metrics" name="should track performance metrics" time="0.002">
|
||
</testcase>
|
||
<testcase classname="FleetCommanderAgent › performance metrics" name="should update metrics after task execution" time="0.002">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="QXPartnerAgent" errors="0" failures="23" skipped="0" timestamp="2025-12-11T20:03:16" time="0.859" tests="24">
|
||
<testcase classname="QXPartnerAgent › Initialization" name="should initialize with correct agent type" time="0.003">
|
||
<failure>TypeError: agent.getAgentId is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/agents/QXPartnerAgent.test.ts:59:29)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="QXPartnerAgent › Initialization" name="should have QX-specific capabilities" time="0.002">
|
||
</testcase>
|
||
<testcase classname="QXPartnerAgent › Initialization" name="should be in idle status after initialization" time="0.003">
|
||
<failure>Error: expect(received).toBe(expected) // Object.is equality
|
||
|
||
Expected: "idle"
|
||
Received: {"agentId": {"created": 2025-12-11T20:03:17.055Z, "id": "qx-partner-1765483397055-77583e696b", "type": "qx-partner"}, "capabilities": ["qx-analysis", "oracle-problem-detection", "ux-heuristics", "impact-analysis", "balance-finder", "testability-integration"], "currentTask": undefined, "performanceMetrics": {"averageExecutionTime": 0, "errorCount": 0, "lastActivity": 2025-12-11T20:03:17.055Z, "tasksCompleted": 0}, "status": "active"}
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/agents/QXPartnerAgent.test.ts:77:22)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="QXPartnerAgent › Full QX Analysis" name="should perform full QX analysis" time="0.001">
|
||
<failure>TypeError: agent.getAgentId is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/agents/QXPartnerAgent.test.ts:85:25)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="QXPartnerAgent › Full QX Analysis" name="should include testability integration when enabled" time="0.002">
|
||
<failure>TypeError: agent.getAgentId is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/agents/QXPartnerAgent.test.ts:118:25)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="QXPartnerAgent › Full QX Analysis" name="should detect oracle problems when enabled" time="0.01">
|
||
<failure>TypeError: agent.getAgentId is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/agents/QXPartnerAgent.test.ts:141:25)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="QXPartnerAgent › Oracle Problem Detection" name="should detect oracle problems only" time="0.002">
|
||
<failure>TypeError: agent.getAgentId is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/agents/QXPartnerAgent.test.ts:165:25)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="QXPartnerAgent › Oracle Problem Detection" name="should filter oracle problems by minimum severity" time="0.002">
|
||
<failure>TypeError: agentWithHighSeverity.getAgentId is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/agents/QXPartnerAgent.test.ts:210:41)</failure>
|
||
</testcase>
|
||
<testcase classname="QXPartnerAgent › User vs Business Balance Analysis" name="should analyze user-business balance" time="0.002">
|
||
<failure>TypeError: agent.getAgentId is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/agents/QXPartnerAgent.test.ts:237:25)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="QXPartnerAgent › User vs Business Balance Analysis" name="should identify when favoring users" time="0.002">
|
||
<failure>TypeError: agent.getAgentId is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/agents/QXPartnerAgent.test.ts:261:25)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="QXPartnerAgent › Impact Analysis" name="should perform impact analysis" time="0.002">
|
||
<failure>TypeError: agent.getAgentId is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/agents/QXPartnerAgent.test.ts:284:25)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="QXPartnerAgent › Heuristics Application" name="should apply specific heuristic" time="0.002">
|
||
<failure>TypeError: agent.getAgentId is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/agents/QXPartnerAgent.test.ts:310:25)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="QXPartnerAgent › Heuristics Application" name="should throw error if heuristic parameter missing" time="0.002">
|
||
<failure>TypeError: agent.getAgentId is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/agents/QXPartnerAgent.test.ts:340:25)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="QXPartnerAgent › Recommendations Generation" name="should generate QX recommendations" time="0.002">
|
||
<failure>TypeError: agent.getAgentId is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/agents/QXPartnerAgent.test.ts:359:25)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="QXPartnerAgent › Recommendations Generation" name="should sort recommendations by priority" time="0.002">
|
||
<failure>TypeError: agent.getAgentId is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/agents/QXPartnerAgent.test.ts:390:25)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="QXPartnerAgent › Scoring System" name="should calculate scores within valid range" time="0.002">
|
||
<failure>TypeError: agent.getAgentId is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/agents/QXPartnerAgent.test.ts:415:25)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="QXPartnerAgent › Scoring System" name="should assign correct grade based on score" time="0.002">
|
||
<failure>TypeError: agent.getAgentId is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/agents/QXPartnerAgent.test.ts:440:25)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="QXPartnerAgent › Memory Operations" name="should store analysis results in memory" time="0.004">
|
||
<failure>TypeError: agent.getAgentId is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/agents/QXPartnerAgent.test.ts:466:25)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="QXPartnerAgent › Memory Operations" name="should retrieve historical analyses from memory" time="0.005">
|
||
<failure>TypeError: agent.getAgentId is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/agents/QXPartnerAgent.test.ts:493:25)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="QXPartnerAgent › Configuration" name="should respect analysis mode configuration" time="0.04">
|
||
<failure>TypeError: quickAgent.getAgentId is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/agents/QXPartnerAgent.test.ts:532:30)</failure>
|
||
</testcase>
|
||
<testcase classname="QXPartnerAgent › Configuration" name="should respect custom thresholds" time="0.002">
|
||
<failure>TypeError: strictAgent.getAgentId is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/agents/QXPartnerAgent.test.ts:578:31)</failure>
|
||
</testcase>
|
||
<testcase classname="QXPartnerAgent › Error Handling" name="should handle invalid task type" time="0.002">
|
||
<failure>TypeError: agent.getAgentId is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/agents/QXPartnerAgent.test.ts:600:25)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="QXPartnerAgent › Error Handling" name="should handle missing target" time="0.001">
|
||
<failure>TypeError: agent.getAgentId is not a function
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/agents/QXPartnerAgent.test.ts:616:25)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
<testcase classname="QXPartnerAgent › Agent Lifecycle" name="should transition through lifecycle states" time="0.002">
|
||
<failure>Error: expect(received).toBe(expected) // Object.is equality
|
||
|
||
Expected: "initializing"
|
||
Received: {"agentId": {"created": 2025-12-11T20:03:17.151Z, "id": "qx-partner-1765483397151-66b0d10d75", "type": "qx-partner"}, "capabilities": ["qx-analysis", "oracle-problem-detection", "ux-heuristics", "impact-analysis", "balance-finder", "testability-integration"], "currentTask": undefined, "performanceMetrics": {"averageExecutionTime": 0, "errorCount": 0, "lastActivity": 2025-12-11T20:03:17.151Z, "tasksCompleted": 0}, "status": "initializing"}
|
||
at Object.<anonymous> (/workspaces/agentic-qe-cf/tests/unit/agents/QXPartnerAgent.test.ts:653:36)
|
||
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
|
||
at _callCircusTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1007:40)
|
||
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:947:3)
|
||
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
|
||
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
|
||
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
|
||
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
|
||
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
|
||
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="Performance Bottleneck Analysis" errors="0" failures="0" skipped="0" timestamp="2025-12-11T20:03:17" time="0.667" tests="13">
|
||
<testcase classname="Performance Bottleneck Analysis › analyzePerformanceBottlenecks" name="should detect no bottlenecks when all metrics are within thresholds" time="0.002">
|
||
</testcase>
|
||
<testcase classname="Performance Bottleneck Analysis › analyzePerformanceBottlenecks" name="should detect CPU bottleneck when CPU exceeds threshold" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Performance Bottleneck Analysis › analyzePerformanceBottlenecks" name="should detect memory bottleneck when memory exceeds threshold" time="0">
|
||
</testcase>
|
||
<testcase classname="Performance Bottleneck Analysis › analyzePerformanceBottlenecks" name="should detect response time bottleneck when p95 exceeds threshold" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Performance Bottleneck Analysis › analyzePerformanceBottlenecks" name="should calculate correct overall severity for critical bottlenecks" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Performance Bottleneck Analysis › analyzePerformanceBottlenecks" name="should calculate performance score correctly" time="0">
|
||
</testcase>
|
||
<testcase classname="Performance Bottleneck Analysis › analyzePerformanceBottlenecks" name="should generate recommendations when requested" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Performance Bottleneck Analysis › analyzePerformanceBottlenecks" name="should analyze resource utilization correctly" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Performance Bottleneck Analysis › analyzePerformanceBottlenecks" name="should perform trend analysis when historical data provided" time="0">
|
||
</testcase>
|
||
<testcase classname="Performance Bottleneck Analysis › analyzePerformanceBottlenecks" name="should detect throughput bottleneck when below minimum" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Performance Bottleneck Analysis › analyzePerformanceBottlenecks" name="should detect error rate bottleneck when above threshold" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Performance Bottleneck Analysis › BottleneckAnalysis Edge Cases" name="should handle zero thresholds gracefully" time="0">
|
||
</testcase>
|
||
<testcase classname="Performance Bottleneck Analysis › BottleneckAnalysis Edge Cases" name="should handle missing optional threshold fields" time="0.001">
|
||
</testcase>
|
||
</testsuite>
|
||
<testsuite name="Performance Report Generation" errors="0" failures="0" skipped="0" timestamp="2025-12-11T20:03:18" time="0.671" tests="14">
|
||
<testcase classname="Performance Report Generation › generatePerformanceReport" name="should generate HTML report successfully" time="0.008">
|
||
</testcase>
|
||
<testcase classname="Performance Report Generation › generatePerformanceReport" name="should generate JSON report successfully" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Performance Report Generation › generatePerformanceReport" name="should generate PDF placeholder report" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Performance Report Generation › generatePerformanceReport" name="should calculate overall score correctly" time="0">
|
||
</testcase>
|
||
<testcase classname="Performance Report Generation › generatePerformanceReport" name="should compare against baseline correctly" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Performance Report Generation › generatePerformanceReport" name="should detect performance degradation vs baseline" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Performance Report Generation › generatePerformanceReport" name="should include bottleneck analysis when provided" time="0">
|
||
</testcase>
|
||
<testcase classname="Performance Report Generation › generatePerformanceReport" name="should extract key findings correctly" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Performance Report Generation › generatePerformanceReport" name="should include metadata in report" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Performance Report Generation › generatePerformanceReport" name="should handle empty benchmark results" time="0">
|
||
</testcase>
|
||
<testcase classname="Performance Report Generation › generatePerformanceReport" name="should generate unique report IDs" time="0">
|
||
</testcase>
|
||
<testcase classname="Performance Report Generation › generatePerformanceReport" name="should include file path in report" time="0">
|
||
</testcase>
|
||
<testcase classname="Performance Report Generation › generatePerformanceReport" name="should calculate warnings count correctly" time="0.001">
|
||
</testcase>
|
||
<testcase classname="Performance Report Generation › Report Format Validation" name="should throw error for unsupported format" time="0.007">
|
||
</testcase>
|
||
</testsuite>
|
||
</testsuites> |