Name Product: Upcase Fundamentals of Test Driven Development
Sale Page: _https://thoughtbot.com/upcase/fundamentals-of-tdd
You must be an active subscriber to view this premium content. Please register
Youve heard about testing, and even better Test-Driven Development, but youre still not sure exactly what they are. Well now youll know! In this trail, thoughtbot developers Harry Schwartz and Ian C. Anderson cover core principles of writing code with Test-Driven Development. Youll learn about the benefits of testing, the way testing first applies positive design pressure to your code, and how to apply TDD to your own development.
Fundamentals of TDD Overview
Learn the red-green-refactor loop, the primary principle of TDD. Write tests first, watch them fail, write code incrementally until the tests pass. With passing tests, use the opportunity to refactor.
Red-Green-Refactor by Example
Getting around is half the battle and Vim provides many ways to fly through a file. In this video youll learn the motions that power so much of Vims awesomeness.
Telling a Story with Your Tests
A well-written test case tells a clear story, communicating the intent of code. Learn how to write expressive tests and why duplication isnt always a bad thing in your test cases.
Introducing the Unit Converter
With a test suite in place, you can refactor with confidence, knowing that your tests will guard against regression. Learn how to leverage your tests while refactoring an existing piece of code.
Refactoring with Test Coverage
Vim has an impressive array of configuration options and customization points. In this video youll learn what sort of configurations are possible and see examples of some powerful options you can set to level up your Vim.
Integration vs. Unit Tests
Integration and unit tests both play important roles in your applications test coverage. Learn when to use each type of tests, guidelines for when to mock collaborators in tests, and how integration and feature tests can drive the creation of unit tests.
Going Further with TDD
Resources for further exploration of Test-Driven Development.
Harry Schwartz Harrys interested in programming language theory, distributed systems, and teachinghe especially likes Ruby, Lisp, and languages with strong type systems. He organizes EmacsBoston, keeps a weird blog, and wanders around outside a lot.
Ian C. Anderson Ian is a web developer who values good naming and bad puns. He is a fan of Ruby for its expressiveness and focus on TDD, and is interested in functional languages like Elixir, Elm, and Haskell. When hes not trying to find the perfect name for a function, he might be playing music or brewing beer at home.