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 Large and Small Projects" 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:

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. The magic is in writing testable code, rather than writing code tests. It’s not about writing code that pretends to be a user. If you can replace all the other components with dummies, eventually you can break the code down into its simplest parts. Unit tests are easier than end-to-end testing. Only once the components are working properly, can you begin to look at end-to-end testing.

Get Unlimited Access Now