saschakiefer / generator-openui5

yeoman generator for OpenUI5 applications and assets
Other
64 stars 17 forks source link

Enhance generator test cases to check for correct templating #45

Closed js1972 closed 10 years ago

js1972 commented 10 years ago

When templating a file we typically substitute some variables for the generator prompt answers. We need to add test cases that inspect and ensure these substitutions have taken place. This will stop issues such as https://github.com/saschakiefer/generator-openui5/issues/44 from occurring.

js1972 commented 10 years ago

In progress using cheerio (https://github.com/MatthewMueller/cheerio) as a jQuery-like selector engine to check index.html scaffolding.

js1972 commented 10 years ago

Add another assert() on the templated component namespace.