js1972 / generator-openui5

Yeoman generator for OpenUI5 applications and assets
Other
0 stars 0 forks source link

Add better test coverage #6

Closed js1972 closed 10 years ago

js1972 commented 10 years ago

Need to check that yeoman generator-generator has been patched up on NPM. Update versions and try again...

js1972 commented 10 years ago

Tests are now working and have added a fiori master-detail app test. Need to add a test of a classical app with xml view - need to work out how to pass prompts to a sub-generator to do this...

js1972 commented 10 years ago

Tests are now refactored into separate files and the grunt watch task now has a default which runs jshint and mochaTest on the generator files.

js1972 commented 10 years ago

File tests created for uiComponent and facelessComponent. All generators are now covered. The component generators complain about not having an index.html file to update with a localResources() call but this doesn't matter for the file creation test. Would be good to later on check the changes to index.html by the sub-generators.