Home

Awesome

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

CircleCI Build status codecov.io Code Climate MIT license Dependency Status devDependency Status

Click here for the live demo

<p align="center"> <img src="http://lathonez.github.io/images/ionic2_unit_testing/clicker.gif" alt=""/> </p>

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:

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 https://github.com/lathonez/clicker.git
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

Contribute

PRs are welcome, see the roadmap sticky

Help

Acks

Changelog

See the changelog here

Updated for: