Requirements - nootn/RazorEngineFromXml GitHub Wiki

Story: Template service xml does not allow invalid operations

As TemplateServiceXml
I want to disallow invalid operations
So that people know when they have tried to use me incorrectly

Null template and null xml data disallows use

Given I pass null parameters
When I try and parse a template and data
Then an exception is thrown
Then result is not set

Story: Template service xml successfully parses

As TemplateServiceXml
I want to parse some input to give valid output
So that people can turn a Razor template and XML into HTML

Fancy linq query on data structure parses successfully

Given I do a linq query on a structured object
When I try and parse a template and data
Then no exception is thrown
Then result is as expected

Flat structured object parses successfully

Given I pass valid parameters of a flat structured object
When I try and parse a template and data
Then no exception is thrown
Then result is as expected

Single level structured object parses successfully

Given I pass valid parameters of a single level structured object
When I try and parse a template and data
Then no exception is thrown
Then result is as expected