You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 14, 2019. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+18-7Lines changed: 18 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# angular-vertxbus
2
2
3
-
[](https://www.npmjs.com/package/angular-vertxbus)[](https://cdnjs.com/libraries/angular-vertxbus)[](https://travis-ci.org/knalli/angular-vertxbus)[](http://gruntjs.com/)
3
+
[](https://www.npmjs.com/package/angular-vertxbus)[](https://cdnjs.com/libraries/angular-vertxbus)[](https://travis-ci.org/knalli/angular-vertxbus)[](https://saucelabs.com/u/angular-vertxbus)[](http://gruntjs.com/)[](https://greenkeeper.io/)
4
4
5
5
Client side library using VertX Event Bus as an Angular Service module
6
6
@@ -11,6 +11,10 @@ Client side library using VertX Event Bus as an Angular Service module
Automatic tests running against the latest version of the major browsers:
15
+
16
+
[](https://saucelabs.com/)
17
+
14
18
15
19
## How to get
16
20
@@ -24,7 +28,7 @@ Alternatively you can use the cdnjs: [cdnjs.com/libraries/angular-vertxbus](http
24
28
25
29
### JavaScript (Polyfill)
26
30
27
-
The source code is written using newer JavaScript 2015 (partly) and is using the JavaScript transpiler [BabelJS](https://babeljs.io).
31
+
The source code is written using newer JavaScript ([ECMAScript 2015+](https://babeljs.io/learn-es2015/))and is using the JavaScript transpiler [BabelJS](https://babeljs.io).
28
32
29
33
Depending on your target clients, you probably need to include a browser polyfill (for ES5 clients). BabelJS itself
30
34
recommends the [requirement of its own polyfill](https://babeljs.io/docs/usage/polyfill/). Either you use the explained
@@ -175,16 +179,23 @@ Note: Check that dependencies are be installed (`npm install`).
175
179
176
180
The *unit tests* are available with `npm test` which is actually a shortcut for `grunt test`. It performs tests under the current primary target version of AngularJS. Use `npm run test-scopes` for testing other scoped versions as well.
177
181
178
-
### E2E tests (manually)
182
+
### Local test environment
179
183
180
184
Note: Check that dependencies are be installed (`npm install`).
181
185
182
-
The *end-to-end tests* start and utilize a full Vert.x node and a NodeJS based web server.
186
+
The *local test environment* starts and utilizes a full Vert.x node and a NodeJS based web server.
187
+
188
+
**Easy:** Just run `npm run -s start-server` and open `http://localhost:3000/` in your preferred browser.
189
+
190
+
If you have changed something, just invoke `npm run -s compile` in parallel and refresh the browser.
191
+
192
+
Alternatively:
183
193
184
-
1.`npm run install-it-vertx-server` downloads and installs a Vert.x locally.
185
-
2.`npm run start-it-vertx-server` starts Vert.x on port `8080`.
194
+
1.`npm run install-it-vertx-server` downloads and installs a Vert.x locally. This will store a cached download artifact at `test/e2e//vertx/`.
195
+
2.`npm run start-it-vertx-server` starts an Vert.x on port `8080`.
186
196
3.`npm run start-it-web-server` starts a web server on port `3000`.
187
-
4. Open http://localhost:3000/ in your browser.
197
+
4. Ensure at least `npm run -s compile` has been invoked so there is a `dist/angular-vertxbus.js`.
0 commit comments