Skip to Content
Full Stack Development with JHipster
book

Full Stack Development with JHipster

by Deepu K Sasidharan, Sendil Kumar N
March 2018
Intermediate to advanced content levelIntermediate to advanced
380 pages
9h 23m
English
Packt Publishing
Content preview from Full Stack Development with JHipster

Client-side tests

The client-side unit tests and end-to-end tests are available under src/test/javascript.

These tests can be run using the provided npm scripts or the provided Gradle tasks.

You can see all available Gradle tasks by running ./gradlew tasks.

Let's run them using the npm scripts. First, let's run the Karma unit tests. In the terminal, execute the following code. You can also use npm instead of yarn if you prefer:

> yarn test

It should produce a similar output in the end:

PhantomJS 2.1.1 (Linux 0.0.0): Executed 56 of 56 SUCCESS (1.672 secs / 1.528 secs)=============================== Coverage summary ===============================Statements : 69.25% ( 903/1304 )Branches : 40.43% ( 112/277 )Functions : 48.89% ( 154/315 )Lines ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Full Stack Development with JHipster - Second Edition

Full Stack Development with JHipster - Second Edition

Deepu K Sasidharan, Sendil Kumar Nellaiyapen
Jasmine Cookbook

Jasmine Cookbook

Munish Kumar

Publisher Resources

ISBN: 9781788476317Supplemental Content