Awesome Open Source
Awesome Open Source

Ionic 2 Demo / Seed Project : + i18n + Unit Testing + E2E Testing + CI + CD

CircleCI Build status Code Climate MIT license Dependency Status devDependency Status

Click here for the live demo

Ionic's official repo

Ionic have created an official unit testing example over at driftyco/ionic-unit-testing-example. To understand why this repo still exists, see #239, where we looked at deprecating clicker in favour of ionic-unit-testing-example.

Broadly, the official example repo:

  • Is not mature or production ready
  • Is intended as a simple example only / will not be supported by Ionic
  • Does not support e2e
  • Does not use @angular/cli and thus lacks testing support from the wider ng2 community

For ~large or production projects, I suggest using clicker. For small apps / side projects the official example should suffice.

Install & Start

You need to be running the latest node LTS or newer

git clone
cd clicker
npm install
npm start         # start the application (ionic serve)

Running as root? You probably shouldn't be. If you need to: npm run postinstall before npm start. #111 for more info.

Run Unit Tests

npm test          # run unit tests

Run E2E

npm run webdriver
npm run e2e

Blog Topics


PRs are welcome, see the roadmap sticky


  • If you can't get the testing working, raise an issue
  • If you have a general question about unit testing (e.g. how can I write a unit test for some-module), see #191



See the changelog here

Updated for:

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
typescript (12,049
unit-testing (187
ionic (168
angular-cli (91
seed (44
e2e-tests (39