官术网_书友最值得收藏!

What this book covers

Chapter 1, Hello, TDD!, contains a brief introduction of TDD and Agile process. We discussed the benefits of TDD and how and why it needs to be used.

Chapter 2, First Test-Driven Application, creates our very first working application using TDD. The purpose of this chapter is to provide a quick win and give a taste of what lies ahead.

Chapter 3, Clean Code Using ScalaTest, discusses some of the principles of clean code and delves into the ScalaTest framework.

Chapter 4, Refactor Mercilessly, discusses various refactoring techniques and their benefits. The idea is to build a gradual appreciation of the refactoring process.

Chapter 5, Another Level of Testing, discusses the concepts of functional testing and behaviour-driven development.

Chapter 6, Mock Objects and Stubs, takes an in-depth look into the mocking frameworks that can be used with ScalaTest and Specs2 to enable mocking out the dependencies during testing.

Chapter 7, Property-Based Testing, discusses the techniques of writing tests that are driven from inputs provided in the form of tabular data or that is randomly generated.

Chapter 8, Scala TDD with Specs2, looks at an alternative testing framework for test-driving Scala code. We also compare ScalaTest and Specs2 so the reader can make an informed choice.

Chapter 9, Miscellaneous and Emerging Trends in Scala TDD, explores some new techniques, features, and processes that may soon become incorporated into the mainstream application development process.

主站蜘蛛池模板: 秭归县| 左权县| 开封市| 潜山县| 昭平县| 晋州市| 旌德县| 禹城市| 江川县| 饶阳县| 涿州市| 嘉善县| 平顶山市| 大理市| 喀喇| 广河县| 辛集市| 伊宁县| 弥勒县| 富阳市| 金山区| 宁城县| 苏尼特右旗| 中江县| 康平县| 渭南市| 柳江县| 航空| 金沙县| 保靖县| 永嘉县| 永昌县| 堆龙德庆县| 芒康县| 墨竹工卡县| 宜章县| 崇文区| 辽中县| 商水县| 平泉县| 安丘市|