Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore JavaScript testing techniques and best practices in this comprehensive conference talk. Learn how to address the challenge of untested JavaScript code, often considered legacy code, through effective unit testing strategies. Discover solutions for integrating JavaScript tests into Continuous Integration (CI) servers like Jenkins and Anthill Pro using tools such as EnvJasmine. Gain insights into writing quality code, avoiding common pitfalls, and implementing Behavior-Driven Development (BDD) principles in web development. Follow along with live coding demonstrations, learn about Jasmine testing framework, and understand how to set up and run tests using PhantomJS, Maven, and Jenkins. Master the art of writing testable JavaScript and ensure the quality and maintainability of your front-end code.
Syllabus
Introduction
About Trevor
Quality Work
Proud
Not Afraid
Namespace
Caps
Global namespace
Dont use with
Evil
The False Consensus Effect
Bad Code
Bad JavaScript
Why we write tests
CI server
Break the build
Jasmine
Live Coding
Vim
Callbacks
PhantomJS Walkthrough
Jasmine Ajax Walkthrough
Testing in Jenkins
Testing in Maven
Run all your tests
Jenkins
Taught by
ChariotSolutions