59 ngAir - Angular 2 testing using Protractor 2C Karma and more with Julie Ralph

March 25, 2016


Angular 2 testing using Protractor, Karma and more withJulie Ralph


Panelists: PatrickJS, Ed Conolly

Guests: Julie Ralph



Testing landscape

Firstquestion...Jasmine or Mocha? j/k

Seriously, though, give us a layout of the testinglandscape. What are the major tools/libraries involved in testing an Angular 2web app?

When do you use Karma vs Protractor

How has the landscape evolved over theyears?

What is new with the latest Karma and Protractor?

New world of JavaScript

How doyou deal with the build process and testing?

Webpackor System offer advantages for testing?

Are thereare special features in Karma or Protractor for Angular 2?

Testing as a discipline

How doyou get developers to actually write tests?

Why don’tdevelopers write tests?

How doyou maintain discipline over time?

Generalguidelines for testing to follow?

Anythoughts or experiences with BDD / CucumberJS and protractor?

Testing strategy

When doyou use unit tests vs integration tests vs e2e (and server vs browser)

MockedAPIs vs Real APIs, should my protractor tests really be e2e?

Other frameworks

What doyou think of AVA? https://github.com/sindresorhus/ava


What doesthe future hold for testing?

Tips & Picks


Zone.js0.6.x https://github.com/angular/zone.js/

How toTest RxJS http://staltz.com/how-to-debug-rxjs-code.html

Chaos Monkey http://techblog.netflix.com/2012/07/chaos-monkey-released-into-wild.html



Jeff Whelpley

StraightOutta Compton

With latest TypeScript, you may not need Webpack https://medium.com/@vivainio/with-latest-typescript-you-may-not-need-webpack-417d2ef0e773#.2z0xbjndi

Ng2 testseed https://github.com/juliemr/ng2-test-seed

Web Workers and Service Works by Gleb https://www.youtube.com/watch?v=4axZ3D75Llg&list=UU_DH6Z_K_3JRgOdDnwHLrLw



Instanttest feedback in your IDE - http://wallabyjs.com/

ConfigurableAPI responses -  https://github.com/wongatech/angular-multimocks

AngularConnectScholarships / CFP



Angularmaterial is alpha: https://github.com/angular/material2

Niftyproject website from Seattle Times: http://projects.seattletimes.com/2016/elwha/

Juliepromises to update ng2-test-seed today :)


Facebook Comments: