Last active
August 29, 2015 14:25
-
-
Save evie404/777b66bdb2c3ed02dc1d to your computer and use it in GitHub Desktop.
How I Learned to Love Testing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Better Testing in Ruby (or "How I Learned to Love Testing") | |
============================== | |
Introduction: | |
- Ricky | |
- Software Engineering @ Airbnb (Previous: Twitter, Aniarc) | |
Beginning: | |
- "I wrote the code, I already know it works!" | |
Why write test: | |
- Refactor | |
- Regression | |
- Report | |
"But writing test takes so much time" | |
Problem: | |
- Assertions are hard | |
- Assertion = Intent | |
- Understand how to assert | |
- Hard to set up test | |
- DRY also applies in test | |
- Test is also code, treat it like code | |
- Hard to write test | |
- Code smell | |
- Tests are slow | |
- GC Tune | |
- Associations | |
- let | |
- Parallelism | |
- Preloader | |
Demo: Test Refactoring | |
Testing Advance: | |
- Experimentation | |
- Canary / Staging | |
- Decider | |
- Service Integration | |
- Cross-service communication | |
- Front-end / Back-end integration | |
- iOS / Android / API integration |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment