Episode 004: In The Testing Weeds With Sam Phippen and Justin Searls
Tech Done Right
English - February 22, 2017 16:00 - 49 minutes - 45.2 MB - ★★★★★ - 30 ratingsTechnology development developer programming technology careers rails ruby on rails ruby tech software Homepage Download Apple Podcasts Google Podcasts Overcast Castro Pocket Casts RSS feed
Episode 004: Testing
Summary
Sam Phippen, Justin Searls, and Noel Rappin spend this episode talking about the value of test-driven development (TDD) as well as its cost. They discuss the kinds of problems that developers are likely to have after they learn TDD and attempt to apply it to a large application. Learn why Rails is both great and terrible for automated testing, and how testing can influence the structure of your code.
Guests
Sam Phippen (https://twitter.com/samphippen): Engineer at Digital Ocean (https://www.digitalocean.com/) and member of the RSpec (https://github.com/rspec) Core Team
Justin Searls (https://twitter.com/searls): Writes bad code effortlessly and cofounder of Test Double (http://testdouble.com/). Maintainer of several testing tools, and frequent speaker on test related topics.
Show Notes
01:30 - Intermediate Level Problems in Testing
04:58 - The Value of Testing
Boundaries by Gary Bernhardt (https://www.youtube.com/watch?v=yTkzNHF6rMs)
15:15 - Isolated Unit Tests
17:52 - Structuring Applications
23:13 - Test-Driven Development (TDD) (https://en.wikipedia.org/wiki/Test-driven_development)
Growing Object-Oriented Software, Guided by Tests (https://www.amazon.com/Growing-Object-Oriented-Software-Guided-Tests/dp/0321503627)
33:22 - TDD in a Smalltalk (https://en.wikipedia.org/wiki/Smalltalk) Environment
35:00 - Isolating Tests in a Rails Environment
Rake Without Rails (http://blog.testdouble.com/posts/2016-12-15-rake-without-rails.html)
36:54 - Test Tools
minitest (https://github.com/seattlerb/minitest)
Dan North: Introducing BDD (https://dannorth.net/introducing-bdd/)
teenytest (https://github.com/testdouble/teenytest)
RSpec (https://github.com/rspec)
Tips & Resources:
Sam:
Sandi Metz: The Magic Tricks of Testing @ Rails Conf 2013 (https://www.youtube.com/watch?v=URSWYvyc42M)
Test Smells (https://github.com/testdouble/test-smells#test-smells)
Justin Searls: How to Stop Hating Your Test Suite @ RubyConf 2015 (https://www.youtube.com/watch?v=VD51AkG8EZw)
Justin:
Find some little problem and instead of implementing it in a Rails app, type bundle.gem and then make up a name and then practice and invent your own way of organizing code and tests so you can break things down.
Noel:
JUnit Test Infected: Programmers Love Writing Tests
(http://junit.sourceforge.net/doc/testinfected/testing.htm)
As you’re trying to test stuff, really try to focus on going back and forth between the tests and the code more rapidly than you’re probably doing so right now. Special Guests: Justin Searls and Penelope Phippen.
Episode 004: Testing
Summary
Sam Phippen, Justin Searls, and Noel Rappin spend this episode talking about the value of test-driven development (TDD) as well as its cost. They discuss the kinds of problems that developers are likely to have after they learn TDD and attempt to apply it to a large application. Learn why Rails is both great and terrible for automated testing, and how testing can influence the structure of your code.
Guests
Sam Phippen: Engineer at Digital Ocean and member of the RSpec Core Team
Justin Searls: Writes bad code effortlessly and cofounder of Test Double. Maintainer of several testing tools, and frequent speaker on test related topics.
Show Notes
01:30 - Intermediate Level Problems in Testing
04:58 - The Value of Testing
15:15 - Isolated Unit Tests
17:52 - Structuring Applications
23:13 - Test-Driven Development (TDD)
Growing Object-Oriented Software, Guided by Tests
33:22 - TDD in a Smalltalk Environment
35:00 - Isolating Tests in a Rails Environment
36:54 - Test Tools
minitest
Dan North: Introducing BDD
teenytest
RSpec
Tips & Resources:
Sam:
Sandi Metz: The Magic Tricks of Testing @ Rails Conf 2013
Justin Searls: How to Stop Hating Your Test Suite @ RubyConf 2015
Justin:
Find some little problem and instead of implementing it in a Rails app, type bundle.gem and then make up a name and then practice and invent your own way of organizing code and tests so you can break things down.
Noel:
JUnit Test Infected: Programmers Love Writing Tests
As you’re trying to test stuff, really try to focus on going back and forth between the tests and the code more rapidly than you’re probably doing so right now.
Special Guests: Justin Searls and Penelope Phippen.