generator-ui5-ts-app icon indicating copy to clipboard operation
generator-ui5-ts-app copied to clipboard

Add testing skeleton to the template

Open jornfranke opened this issue 3 years ago • 2 comments

Hi,

it would be great if a testing skeleton could be added to the TypeScript OpenUI5 template. The official Javascript examples on the website seems to include testing and I think it would be useful to include into the template as it always takes a bit of time to setup a skeleton for unit testing etc.

Thank you.

jornfranke avatar Jan 02 '22 21:01 jornfranke

good point - and already in the works on all levels: unit-, component- and e2e-test. still waiting for some "official" parts to drop in (e.g. TS defs/types for OPA5 being one of them). will keep this open until a PR is possible - thanks for bringing this on the table!

vobu avatar Jan 03 '22 08:01 vobu

Great! Thanks a lot for the quick feedback. I was wondering how this would be done and good to hear that there are plans. For now I will work with Jasmine, but for sure also try out the OPA5 one once it is there.

I am working now on an open source progressive web application (PWA) that should run on all devices. Typescript was given to use. It will be for now simple small notes application that uses an encrypted storage in the browser. Lets see how this evolves.

jornfranke avatar Jan 03 '22 09:01 jornfranke

Testing is included now

petermuessig avatar Jun 30 '24 21:06 petermuessig