Open MudassarBashir opened 9 years ago
Thanks for the report. I think the first edition had a reference to creating integration tests, but that was changed for the second edition. Unfortunately this reference in chapter 3 was not updated. I also notice that it refers to chapter 7 for testing, but in fact it's chapter 9.
Regarding the difference between unit tests and integration tests, I take it the sidebar on page 69 didn't help? What about section 9.1.2?
Actually the sidebar is very helpful thank you. As for section 9.1.2, that's a bit ahead for me but I will take a look indeed. Appreciate your help.
In the penultimate paragraph of page 69, the book states that "Recall from chapter 1 that you create integration tests...". However, in chapter 1 there is no reference that I could find that talks about integration tests or the command to create them. I went looking for that reference because I badly wanted to know the difference between unit tests and integration tests since on page 69, the only distinction I could find was that we want integration tests when testing against the database. An explanation as to the difference between unit and integration testing and the situations in which why we might want one or the other would be greatly appreciated. Thanks.