forked from HAL9000/cleveragents-core
20 lines
729 B
Gherkin
20 lines
729 B
Gherkin
Feature: Template Rendering
|
|
As a developer using CleverAgents
|
|
I want to render templates with context data
|
|
So that I can generate dynamic content
|
|
|
|
Scenario: Render a simple template
|
|
Given a template with placeholders
|
|
When I render the template with context data
|
|
Then the placeholders should be replaced with the context values
|
|
|
|
Scenario: Register and retrieve templates
|
|
Given multiple templates are registered
|
|
When I request a specific template by name
|
|
Then I should receive the correct template
|
|
|
|
Scenario: Handle missing template variables
|
|
Given a template with placeholders
|
|
When I render the template with missing context data
|
|
Then an appropriate template error should be raised
|