Testing strategies for various applications

You know that you should write tests, but when you're staring at that blank screen, it's sometimes hard to know where to start. So, in this chapter, we are going to explore some strategies to help build a plan for what gets tested and how you test it. We're going to talk about four different things:

When it comes to testing, there are a lot of different approaches, but rather than drowning in a sea of information, we're going to keep it simple. Any tests are better than no tests, so let's focus on getting some tests on our contract, and later we can always refine the approach and the tests as we learn more.