目錄(87章)
倒序
- 封面
- 版權頁
- Credits
- About the Author
- Acknowledgments
- About the Reviewer
- www.PacktPub.com
- Why subscribe?
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Chapter 1. Hello TDD!
- What is TDD?
- Why TDD?
- Changing our approach to problem solving
- Brief introduction to Scala and SBT
- Hello World!
- Summary
- Chapter 2. First Test-Driven Application
- Testing frameworks
- ScalaTest
- Problem statements
- IDE
- Project structure
- Write a failing test – RED
- Writing application code to fix the test – GREEN
- More tests – REPEAT
- Intercepting exceptions
- Summary
- Chapter 3. Clean Code Using ScalaTest
- Assertions
- Some more Matchers
- Matchers
- Base test classes
- Test fixtures
- Problem statement
- Summary
- Chapter 4. Refactor Mercilessly
- Clean code
- Red-Green-Refactor
- Code smell
- To refactor or not to refactor
- Refactoring techniques
- Summary
- Chapter 5. Another Level of Testing
- Integration testing
- Behavior-driven development
- Talk is cheap
- Summary
- Chapter 6. Mock Objects and Stubs
- History
- Coupling
- Stubs
- Mock objects
- Fakes
- Spy
- Mocking frameworks
- Mockito
- ScalaMock
- Summary
- Chapter 7. Property-Based Testing
- Introduction to property-based testing
- Generator-driven properties
- ScalaCheck
- Summary
- Chapter 8. Scala TDD with Specs2
- Introduction to Specs2
- Differences between Specs2 and ScalaTest
- Setting up Specs2
- Styles
- Acceptance specification
- Matchers
- Specs2 data tables
- Running Specs2 tests
- Summary
- Chapter 9. Miscellaneous and Emerging Trends in Scala TDD
- Scala Futures and Promises
- The Inside trait
- The OptionValue trait
- The EitherValue trait
- Eventually
- Consumer-Driven Contracts
- Summary 更新時間:2021-07-08 10:45:13
推薦閱讀
- SQL Server 從入門到項目實踐(超值版)
- Beginning C++ Game Programming
- 基于Java技術的Web應用開發
- Python高級編程
- Android 應用案例開發大全(第3版)
- Linux命令行與shell腳本編程大全(第4版)
- concrete5 Cookbook
- Visual Basic程序設計實驗指導(第二版)
- MySQL從入門到精通(軟件開發視頻大講堂)
- 速學Python:程序設計從入門到進階
- Mastering Akka
- Learning Node.js for .NET Developers
- 編程改變生活:用Python提升你的能力(進階篇·微課視頻版)
- Python開發基礎
- Learning Nessus for Penetration Testing
- Visual C#(學習筆記)
- Microsoft Windows Identity Foundation Cookbook
- 計算機應用基礎
- Isomorphic JavaScript Web Development
- 算法(第4版)
- C++程序設計習題與實驗指導
- Spark Streaming技術內幕及源碼剖析
- Learning IPython for Interactive Computing and Data Visualization(Second Edition)
- Game Development with SlimDX
- Angular Router
- D3.js:Cutting-edge Data Visualization
- Web前端學習筆記:HTML5+CSS3+JavaScript
- 零基礎學交互設計
- Windows PowerShell 4.0 for .NET Developers
- 構建體驗新框架:人性化 智能化 平臺化