@@ -63,17 +63,9 @@ The following instructions can be used to do this:
63
63
64
64
## Unit Tests
65
65
66
- $ ng test
66
+ $ ng test --browsers PhantomJS --single-run
67
67
68
- ## E2E Tests
69
-
70
- In order to also execute the End-to-End (E2E) tests, please execute the UI build using:
71
-
72
- $ ng e2e
73
-
74
- Please ensure that a * Spring Cloud Data Flow* server instance is running at ` http://localhost:9393/ ` .
75
-
76
- ## Development
68
+ # Development
77
69
78
70
For development, please ensure that a * Spring Cloud Data Flow* server instance is running at ` http://localhost:9393/ ` .
79
71
@@ -83,18 +75,33 @@ The execute:
83
75
84
76
The Dashboard will be running at ` http://localhost:4200/ ` . The browser will automatically reload upon saving any changes to the application sources.
85
77
86
- ## Dependency Management using Bower
78
+ # Dependency Management using Bower
87
79
88
80
[ npm] [ ] is used for managing UI dependencies.
89
81
90
- ### Install Build Dependency
82
+ ## Install Build Dependency
91
83
92
84
$ npm install --save-dev my-dependency
93
85
94
86
## How to Update Node.js dependencies in package.json
95
87
96
88
Use [ https://github.com/tjunnone/npm-check-updates ] ( https://github.com/tjunnone/npm-check-updates )
97
89
90
+ # Project Analytics
91
+
92
+ ## Web Pack Bundle Analyzer
93
+ Produces analysis report on the project webpack bundles.
94
+
95
+ $ ng build --prod --stats-json
96
+ $ npm run bundle-report
97
+
98
+ You can view the results via your browser at: http://127.0.0.1:8888/
99
+
100
+ ## Code Coverage Report
101
+ Produces code coverage report.
102
+
103
+ $ ng test --browsers PhantomJS --single-run --code-coverage --reporters=coverage-istanbul
104
+
98
105
[ Angular ] : http://angular.io/
99
106
[ Angular CLI ] : https://cli.angular.io/
100
107
[ frontend-maven-plugin ] : https://github.com/eirslett/frontend-maven-plugin
@@ -104,12 +111,3 @@ Use [https://github.com/tjunnone/npm-check-updates](https://github.com/tjunnone/
104
111
[ npm ] : https://www.npmjs.com/
105
112
[ Protractor ] : https://github.com/angular/protractor
106
113
107
- ## Project Analytics
108
-
109
- ### Web Pack Bundle Analyzer
110
- Produces analysis report on the project webpack bundles.
111
-
112
- $ ng build --prod --stats-json
113
- $ npm run bundle-report
114
-
115
- You can view the results via your browser at: http://127.0.0.1:8888/
0 commit comments