Copyright
Brief Table of Contents
Table of Contents
Foreword to the Second Edition
Foreword to the First Edition
Preface
Acknowledgments
About this Book
About the Cover Illustration
1. Getting started
Chapter 1. The basics of unit testing
1.1. Defining unit testing, step by step
1.1.1. The importance of writing good unit tests
1.1.2. We’ve all written unit tests (sort of)
1.2. Properties of a good unit test
1.3. Integration tests
1.3.1. Drawbacks of nonautomated integration tests compared to automated unit tests
1.4. What makes unit tests good
1.5. A simple unit test example
1.6. Test-driven development
1.7. The three core skills of successful TDD
1.8. Summary
Chapter 2. A first unit test
2.1. Frameworks for unit testing
2.1.1. What unit testing frameworks offer
2.1.2. The xUnit frameworks
2.2. Introducing the LogAn project
2.3. First steps with NUnit
2.3.1. Installing NUnit
2.3.2. Loading up the solution
2.3.3. Using the NUnit attributes in your code
2.4. Writing your first test