syndesisio / syndesis-ui

The front end application or UI for Syndesis - a flexible, customizable, cloud-hosted platform that provides core integration capabilities as a service. It leverages Red Hat's existing product architecture using OpenShift Online/Dedicated and Fuse Integration Services.
https://syndesis.io/
14 stars 28 forks source link

Unit Tests & Test Coverage #35

Closed kahboom closed 7 years ago

kahboom commented 7 years ago

Create unit tests for majority of components & ensure test coverage is relatively accurate.

kahboom commented 7 years ago

For personal reference:

 🍕  » ipaas-client $ npm test

> ipaas-client-cli@0.0.0 test /Users/kahboom/Projects/ipaas-client
> ng test

18 01 2017 11:42:26.308:WARN [karma]: No captured browser, open http://localhost:9876/    
18 01 2017 11:42:26.335:INFO [karma]: Karma v1.4.0 server started at http://0.0.0.0:9876/
18 01 2017 11:42:26.336:INFO [launcher]: Launching browser Chrome with unlimited concurrency
18 01 2017 11:42:26.452:INFO [launcher]: Starting browser Chrome
18 01 2017 11:42:27.979:INFO [Chrome 55.0.2883 (Mac OS X 10.12.2)]: Connected on socket ZBx2Fp_pAslS32mOAAAA with id 48647684
Chrome 55.0.2883 (Mac OS X 10.12.2): Executed 37 of 37 SUCCESS (1.516 secs / 1.497 secs)
kahboom commented 7 years ago

Will create a separate issue for test coverage. Unit tests in place and integrated with CD/CI, though coverage is likely very low.