Files
cleveragents-core/tests/features/graph_templates_direct_coverage.feature
T

29 lines
1.2 KiB
Gherkin

Feature: Graph Templates Direct Coverage
As a developer
I want to directly test GraphTemplate functionality
So that we achieve 90%+ code coverage for the graph_templates.py file
Background:
Given I have a direct test environment for graph templates
# Direct instantiation tests to bypass existing mocks
Scenario: Direct GraphTemplate instantiate test - full execution
Given I have a direct graph template instance
And I have direct test parameters
And I have a direct instantiation context
When I directly instantiate the graph template
Then the direct instantiation should succeed
And all code paths should be executed
Scenario: Direct GraphTemplate _process_nodes test
Given I have a direct graph template instance with complex nodes
And I have direct test parameters with agent references
And I have a direct instantiation context with agents
When I directly call _process_nodes
Then node processing should execute all branches
Scenario: Direct GraphTemplate _process_edges test
Given I have a direct graph template instance with complex edges
And I have direct test parameters
When I directly call _process_edges
Then edge processing should execute all branches