
FrontendMasters.com – The Psychology of Code Testability [6 MP4]
English | Size: 284.63 MB (298,458,298 bytes )
Category: Tutorial
Misko, the creator of AngularJS (by Google), gives us an overview of how to write testable code and what makes code hard to test.
Table of Contents
The Psychology of Testing
2:22:02 – 2:30:00 Testing Fundamentals The three things you need to know about testing. 1: Read the code, 2: Mind your dependencies, 3: Sharpen your environmental Ax. It’s easier to do it properly than do it wrongly.
2:30:00 – 2:38:40 Write Tests First If you want to test your software, test it at the point of writing. Once it is written, it’s too late.
2:38:40 – 2:49:50 Testing Large and Small Projects Bigger projects are no harder than small projects – there is just more work. Find the stuff you actually need and then work with them. The more nested the dependencies, the harder things will become for you.
2:49:50 – 2:57:30 Testing Classes and Business Logic How do you test a class? You test it by replacing the class’s sub-dependencies with ‘friendly’ dummy modules. Then everything that goes wrong is in the class under test. The real sub-dependencies can be plugged back in later.
2:57:30 – 3:06:45 Testing Examples Testing after the fact means you assume the code works, then try it out. The problem is largely insoluble.
3:06:45 – 3:13:30 Testing code vs. Production code While simple objects can be trusted to be benign, more involved objects need careful handling. The ‘new’ operator is best avoided.
DOWNLOAD:
http://nitroflare.com/view/AAF1F444C29C2CB/Frontend_Masters_-_The_Psychology_of_Code_Testability.rar
If any links die or problem unrar, send request to http://goo.gl/aUHSZc
Leave a Reply