
59 ngAir - Angular 2 testing using Protractor 2C Karma and more with Julie Ralph
About this episode
Angular 2 testing using Protractor, Karma and more withJulie Ralph
Panelists: PatrickJS, Ed Conolly
Guests: Julie RalphOutline
Background
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
Future
What doesthe future hold for testing?Tips & Picks
PatrickJS
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
Gremlins.jshttps://github.com/marmelab/gremlins.js
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
Ed
Instanttest feedback in your IDE - http://wallabyjs.com/
ConfigurableAPI responses - https://github.com/wongatech/angular-multimocks
AngularConnectScholarships / CFP
Julie
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 :)
More from Angular Air
Mateus Carniatto joins us to talk NGXS and the power of selectors. Mateus on Twitter: https://twitter.com/c4rniatto NGXS https://www.ngxs.io/ ----------------------------------------------- Angular Ai…
In this episode Santosh Yadav comes on to dive into builders and schematics for the Angular CLI Santosh on Twitter https://twitter.com/SantoshYadavDev ----------------------------------------------- A…
Joe Eames stops by to discuss training techniques and curriculum building that is focused on enabling students to learn more effectively. Joe on Twitter https://twitter.com/josepheames Joe's FREE Fund…
Ankit Sharma joins us to share how to use Firebase in our Angular applications. Ankit on Twitter https://twitter.com/ankitsharma_007 Ankit's Blog https://ankitsharmablogs.com/ ------------------------…
Our good friend Sander Elias joins us once more, this time to go over the latest and greatest with Scully, the static site generator for Angular. Sander on Twitter: https://twitter.com/esosanderelias…