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:
@angular/cli and thus lacks testing support from the wider ng2 communityFor ~large or production projects, I suggest using clicker. For small apps / side projects the official example should suffice.
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.
npm test # run unit tests
npm run webdriver
npm run e2e
PRs are welcome, see the roadmap sticky
some-module), see #191See the changelog here
Content type
Image
Digest
Size
483.9 MB
Last updated
over 8 years ago
docker pull lathonez/clicker