This course is not up to current Frontend Masters standards, but it still shows some relevant lessons on what makes code difficult to test. We now recommend you take the JavaScript Testing Practices and Principles course.

Check out a free preview of the full The Psychology of Code Testability course:
The "Testing Fundamentals" Lesson is part of the full, The Psychology of Code Testability course featured in this preview video. Here's what you'd learn in this lesson:

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. It’s quicker and easier to write test code than not. While the test code is almost as long as the working code, it’s much simpler and quicker to write. Testing needs to be built in from the ground up. When the application is complete, you can’t go back and retro-fit the testing. People don’t write testing because they don’t know how... but this is a secret. Don’t be afraid.

Get Unlimited Access Now