ui5-community/generator-ui5-library

Add support for CI builds in template

michga opened this issue ยท 4 comments

Hello,

Currently, the template generates a test npm script that launches a server and the test suite.
However, the server never stops and this doesn't produce code coverage.
It would be great if this generator could be updated with these 2 "features".

Best regards,
michga

Hi @michga ,

good point. I will try to see what is possible. Automated testing with Karma is a missing piece here. I added the Karma support to the UI5 library showcase already: https://github.com/ui5-community/ui5-library-showcase/tree/main/packages/ui5-library-showcase

BR,
Peter

@petermuessig,

Just added the karma config to the template (based on the library showcase example). (Release 1.0.7)

Regards,
Geert-Jan

@geert-janklaps : great! I had this also on my agenda but did not make it till now. Thanks for your help! ๐Ÿ˜„

@michga : is this sufficient for you?

@geert-janklaps - thank you for implementing this!
@petermuessig - it is, thank you