Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Ionic 2 + @angular/cli Seed Project : Angular2 + Typescript + Karma + Protractor + Travis

License

NotificationsYou must be signed in to change notification settings

lathonez/clicker

Repository files navigation

CircleCIBuild statuscodecov.ioCode ClimateMIT licenseDependency StatusdevDependency Status

Click here for the live demo

Ionic's official repo

Ionic have created an official unit testing example over atdriftyco/ionic-unit-testing-example. To understand why this repo still exists, see#239, where we looked at deprecatingclicker in favour ofionic-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 runningthe latest node LTS or newer

git clone https://github.com/lathonez/clicker.gitcd clickernpm installnpm start# start the application (ionic serve)

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

Run Unit Tests

npmtest# run unit tests

Run E2E

npm run webdrivernpm run e2e

Blog Topics

Contribute

PRs are welcome, see theroadmap 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 forsome-module), see#191

Acks

  • This started out as a fork ofAngular 2 Seed and would not be possible without it
  • @stonelasey for i18n (#271)
  • @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 changeloghere

Updated for:

  • @angular/*: 5.0.4
  • @angular/cli:: 1.5.4
  • @ionic-angular: 3.9.2

About

Ionic 2 + @angular/cli Seed Project : Angular2 + Typescript + Karma + Protractor + Travis

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors24


[8]ページ先頭

©2009-2025 Movatter.jp