Files
cleveragents-core/tests/features/langgraph_nodes_optimized.feature

44 lines
1.8 KiB
Gherkin

Feature: LangGraph Nodes Module Coverage (Optimized)
As a developer using CleverAgents
I want essential test coverage for the LangGraph nodes module
So that critical functionality is verified efficiently
Background:
Given the LangGraph nodes system is initialized
Scenario: Node initialization and core execution paths
Given I have various node configurations
When I test node initialization and basic execution
Then all node types should initialize correctly
And basic execution should work for each type
Scenario: Agent node execution scenarios
Given I have various node configurations
When I test agent node execution paths
Then agent execution should handle valid agents correctly
And error cases should be handled properly
Scenario: Function node execution scenarios
Given I have various node configurations
When I test function node execution paths
Then all built-in functions should execute correctly
And unknown functions should return empty results
Scenario: Conditional node execution scenarios
Given I have various node configurations
And I have conditional node test configurations
When I test conditional logic execution
Then all condition types should evaluate correctly
And conditional edge cases should be handled properly
Scenario: Node utility methods and properties
Given I have various node configurations
When I test node utility methods
Then timeout and parallel settings should work
And edge operations should function correctly
Scenario: Error handling and retry mechanisms
Given I have various node configurations
When I test error handling scenarios
Then errors should be captured and returned properly
And retry policies should work without delays