forked from cleveragents/cleveragents-core
20 lines
812 B
Gherkin
20 lines
812 B
Gherkin
Feature: Template Rendering with Different Engines
|
|
As a developer using CleverAgents
|
|
I want to render templates with different engines
|
|
So that I can use the most appropriate template syntax
|
|
|
|
Scenario: Render a template with simple engine
|
|
Given a template renderer with "simple" engine
|
|
When I register and render a template with context data
|
|
Then the template should be rendered correctly
|
|
|
|
Scenario: Handle errors in template rendering
|
|
Given a template renderer with "simple" engine
|
|
When I try to render a template with invalid context
|
|
Then an appropriate template error should be raised
|
|
|
|
Scenario: Register multiple templates
|
|
Given a template renderer with "simple" engine
|
|
When I register multiple templates
|
|
Then I should be able to render each template correctly
|