In this chapter, we'll look at how we can test our code to make sure it's working as expected. Now, if you've ever set up test cases for other languages, then you know how hard it can be to get started. You have to set up the actual test infrastructure. Then you have to write your individual test cases. Every time I didn't test an application, it was because the setup process and the tools available to me were such a burden. Then you dig around for information online and you get really simple examples, but not examples for testing real-world things like asynchronous code. We'll be doing all of that in this chapter. I'll give you a very simple setup for testing and writing your test cases.
We'll look at the best tools available so you'll actually be excited to write those test cases and see all...