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

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.

主站蜘蛛池模板: 同江市| 鸡泽县| 班戈县| 叶城县| 城固县| 宜阳县| 林甸县| 玉门市| 临清市| 革吉县| 南涧| 绥宁县| 舟山市| 安宁市| 灌阳县| 永寿县| 外汇| 周口市| 申扎县| 乌苏市| 高碑店市| 南部县| 永善县| 长顺县| 类乌齐县| 通渭县| 贡嘎县| 广汉市| 越西县| 岳池县| 滁州市| 司法| 岑溪市| 涟水县| 营口市| 塔城市| 黄石市| 屏东市| 盐边县| 义乌市| 鄯善县|