FREELessons: 10Length: 2 hours
- Overview
- Transcript
2.4 Bug Fixing And Refactoring
In this episode we look at how we can refactor larger methods out into smaller methods, which are easier to test. We keep enhancing our basket class and the specs with code for emptying the basket and finding items in a basket
1.Introduction1 lesson, 10:19
1 lesson, 10:19
1.1Introduction10:19
1.1
Introduction
10:19
2.Test-Driven Development With CoffeeScript and Jasmine7 lessons, 1:26:56
7 lessons, 1:26:56
2.1An Introduction To Jasmine09:15
2.1
An Introduction To Jasmine
09:15
2.2Compiling CoffeeScript17:08
2.2
Compiling CoffeeScript
17:08
2.3Our Basket Class13:41
2.3
Our Basket Class
13:41
2.4Bug Fixing And Refactoring16:08
2.4
Bug Fixing And Refactoring
16:08
2.5Removing Items13:40
2.5
Removing Items
13:40
2.6Fixing Bugs With Tests07:21
2.6
Fixing Bugs With Tests
07:21
2.7Methods on the Item Class09:43
2.7
Methods on the Item Class
09:43
3.Retrospective Testing and Course Conclusion2 lessons, 23:22
2 lessons, 23:22
3.1Custom Matchers11:56
3.1
Custom Matchers
11:56
3.2Spies and Retrospective Testing11:26
3.2
Spies and Retrospective Testing
11:26
Ruby & JS, soon to be @GoCardless. Uni of Bath Comp-Sci. Author of 'Beginning jQuery'.