- Update: Update to Ionic 2.0.0.beta.8
- Update: Update to Ionic 2.0.0.beta.7 and Angular 2.0.0.rc.1 PR #93 big update due to Angular RC1 (bc392c3)
- Unit Test: Use browserify within Karma (see below) (5f096f7)
- Unit Test: Remove glob, gulp-load-plugins and gulp-util dependencies, refactor gulpfile to remove most typing dependencies (c67beae)
- actually enables sourcemaps in Karma
- quicker builds
- remove the requirement for remapping coverage as it happens with browserify
- remove
test/config.ts
as it was only being used in gulpfile.ts, and as we're making everything lighter it seems unlikely to be extended - remove
test/app.stub.js
Now using a workaround in Karma instead. See (#79)
- Unit Test: Merge PR #87 which sorts out Karma's random "Formatting Errors" (f3b6641)
- E2E: Remove absolute path for protractor (#83) (5894a5a)
- Unit Test: Increase browser timeout (#82) (ff59b33)
- Update: Update to Ionic 2.0.0.beta.6 (a571e7c)
- Unit Test: Lightweightify (440ac08)
Lightweightify is a major refactor to the framework. See the issue for further info.
The main changes are listed below
- unit tests are now bundled into
test.bundle.js
- sourcemaps are now produced @
test.bundle.js.map
- coverage is remapped onto source Typescript meaning that transpiled javascript is no longer pushed to
./coverage/source
- gulpfile.ts has had a large refactor away from the ng2-seed style and back toward what everyone else seems to be doing
app.stub.ts
has been renamed and largely re-written inapp.stub.js
, as was required by a change in the process
The following files have been removed as they are no longer required
- .travis/push_built_tests.sh
- coverage/source/**.js
- test/ionic-angular.js
- test/test-main.js
Migration
I strongly suggest adopting the new framework as it brings with it many benefits. I will update this if firsthand information is forthcoming
- nuke the
./test
and replace it with the new version. Note that any proxies for external modules inkarma.conig.js
are no longer required, thus there should be no project specifics in that folder - remove the
export function main()
wrapper from your*.spec
: example - merge
package.json
(just for dependencies), some have been removed, some added. Note dependencies are now documented in README.md
Hopefully that should be it.
- Deps: Merge PR #71 correcting
ionic-gulp-webpack
dependency (efc9cdf) - Update: Upgrade deps (angular2, etc) to latest Ionic 2.0.0.beta.4 (5649061)
- Docs: Add "two shell windows" to README.md after someone misread it (69b5ccb)
- Travis: Adding install for Phantom manually to get around this 403 in Travis (aa6173a)
- E2E: Use sendKeys workaround to send delayed keystrokes for randomly failing e2e (642973d)
- Build: Merge PR #56 remove
;
(9ecdbf4)
- Travis: Testing e2e in Travis (4a6f5eb)
- Unit Test: DOM test skeleton for @Page Clicker List (65bf5d5)
- Build: Hook into Ionic's gulpfile directly and remove ionic-app-lib (6a4b17c)
- Update: Fixing CSS references broken in upgrade (again) (40d682c)
- Update: Upgrade deps (angular2, etc) to latest Ionic 2.0.0.beta.2 (1e9cc11)
- E2E: Starting groundwork for e2e testing based on ng2 seed (36572b6)
- Build: Count source and target files in buildlocker rather than relying on existance of a specific file in the target (6137fd8)
- Travis: Ionic Framework .beta.18 was broken on Travis (#24), upgrade to .19 (6003691)
- Update: Upgrade angular2 to beta.9 which supports typescript 1.8.* (#9 ([d46f017])
- Build: Using Ionic's build tools in
ionic-app-lib
(9005006) - Unit Test: Enable form tests again after our PR is merged into Ionic (#12) (aa726486)
- Build: Improve workaround for
ionic-angular/index
by creating own references inionic-angular.js
(#27) (21ba465)
- Build: Move conifg to
./test
(#27) (f78363d) - Update: Update to Ionic 2.0.0.beta.1 (#25) (67bad59)
- Build: Use Cordova Hooks to prevent test files from ending up inside the apk (82be26a)
- Deps: Use explicit versioning in npm ([#17]](lathonez#17)) (90f677d)
- Deps: Dependency Badge (#13) (b30e24d)
- Deps: Migrate from tsd to typings (#10) (120c02e)
- Build: Move spec to source directory (#11) (3d3650f4)
- Unit Test: Previously using a bunch of hacks accessing private control variables (cc5c0a5)
- App: Need to use one or the other when typing (cc2d919)
- App: Update tslint to enforce strict typing and change typescript to be strictly typed (cc2d919)
- Unit Test: Misconfiguration in Karma (5af7958)
- Unit Test: Previously using toBeDefined, but they will always be defined! (d8e1cf5)
- Unit Test: Using Angular2's DI to test component's in the DOM (07f60bf)
- App: Utility function should be placed in
.catch
in any promise to debug errors (0621169)
- Update: CSS was broken in Ionic upgrade (98c13c4)
- Update: Icons were broken in Ionic upgrade (c954c15)