Giter VIP home page Giter VIP logo

clicker's Introduction

Ionic 2 Demo / Seed Project : Karma + Protractor + CircleCi

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

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 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

  • 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

Acks

  • This started out as a fork of Angular 2 Seed and would not be possible without it
  • @bengro for the lightweightify inspiration (#68)
  • @ric9176 and @DanielaGSB for E2E tests (#50)
  • @tja4472 for the ngrx implementation (#133)
  • Everyone else for the advice, help, PRs etc

Changelog

See the changelog here

Updated for:

  • @angular/*: 4.1.3
  • @angular/cli:: 1.1.2
  • @ionic-angular: 3.4.2

clicker's People

Contributors

alexmgrant avatar beetz12 avatar chron0 avatar cklanac avatar danielagsb avatar dorontal avatar hfwittmann avatar juliocbcotta avatar kwv avatar lathonez avatar lazaromenezes avatar lholznagel avatar m5rk avatar marcmeans avatar mbakker96 avatar mchapman avatar muhammedbasilsk avatar pvdyck avatar ric9176 avatar stonelasley avatar tja4472 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.