Writing clean, testable JavaScript can be a daunting task for front-end developers. Many find it difficult to get into and thus discard it. Test automation is an essential part of modern web applications, especially when it comes to maintainability. In this talk, I show how easy and straightforward testable JavaScript code can be written using Test-Driven Development (TDD).
Very often we see untested front-end code going into production, merely depending on manual human testing. The problem is, the human error factor plays a role here, and as humans we often tend to make mistakes. Bearing that in mind, not having test automation on JavaScript code can lead to trouble. Test automation is an essential part of modern web applications, especially when it comes to maintainability. In this talk, I show how easy and straightforward testable JavaScript code can be written. Practicing test driven development and combining the power of AngularJS and TypeScript. With the use of tools such as Jasmine, Karma test runner and code coverage. And finally automating the whole process with TeamCity.
After the talk, you’ll know how to:
* Practice test driven development with JavaScript
* Combine AngularJS with TypeScript
* Use AngularJS’ test design capabilities
* Use JavaScript testing tools; Jasmine and Karma
* Automate testing with TeamCity
[vimeo 105751219 480 270]
Video producer: http://www.javazone.no/