目錄(71章)
倒序
- coverpage
- Learning Behavior-driven Development with JavaScript
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Support files eBooks discount offers and more
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Chapter 1. Welcome to BDD
- The test-first approach
- BDD versus TDD
- Exploring unit testing
- The structure of a test
- What is a good test?
- Summary
- Chapter 2. Automating Tests with Mocha Chai and Sinon
- Node and NPM as development platforms
- Configuring your project with NPM
- Introducing Mocha
- More expressive assertions with Chai
- Red/Green/Refactor
- Test doubles with Sinon
- Summary
- Chapter 3. Writing BDD Features
- Introducing myCafé
- Writing features
- Testing asynchronous features
- Organizing our test code
- Finishing our feature
- Summary
- Chapter 4. Cucumber.js and Gherkin
- Getting started with Gherkin and Cucumber.js
- Writing advanced scenarios
- Useful Cucumber.js features
- Cucumber.js or Mocha?
- Summary
- Chapter 5. Testing a REST Web API
- The approach
- Testing the GET order feature
- Testing slave resources
- Summary
- Chapter 6. Testing a UI Using WebDriverJS
- Our strategy for UI testing
- WebDriverJS
- Testing a rich Internet application
- Summary
- Chapter 7. The Page Object Pattern
- Introducing the Page Object pattern
- A page object for a rich UI
- Summary
- Chapter 8. Testing in Several Browsers with Protractor and WebDriver
- Testing in several browsers with WebDriver
- Welcome Protractor!
- Summary
- Chapter 9. Testing Against External Systems
- Writing good test doubles
- Testing against external systems
- Summary
- Chapter 10. Final Thoughts
- TDD versus BDD
- A roadmap to BDD
- Concluding the book
- Next steps?
- Summary
- Index 更新時間:2021-07-23 20:52:45
推薦閱讀
- C++案例趣學
- Mastering Zabbix(Second Edition)
- HTML5 移動Web開發從入門到精通(微課精編版)
- 算法大爆炸:面試通關步步為營
- 云原生Spring實戰
- 算法訓練營:提高篇(全彩版)
- 大學計算機基礎實驗指導
- Python忍者秘籍
- Getting Started with Eclipse Juno
- 愛上micro:bit
- Spring 5 Design Patterns
- 軟件體系結構
- Python預測分析與機器學習
- Scrapy網絡爬蟲實戰
- 前端架構設計
- Java Script從入門到精通(第5版)
- Swift iOS Programming for Kids
- 前端Serverless:面向全棧的無服務器架構實戰
- OpenCL異構并行計算:原理、機制與優化實踐
- 天天學敏捷:Scrum團隊轉型記
- Mastering jQuery UI
- Unreal Engine Game Development Blueprints
- Harbor權威指南:容器鏡像、Helm Chart等云原生制品的管理與實踐
- Hands-On RESTful API Design Patterns and Best Practices
- PHP Reactive Programming
- C#程序設計任務式教程
- 數據分析與挖掘:R語言
- WCF Multi-layer Services Development with Entity Framework(Fourth Edition)
- 區塊鏈應用指南:方法與實踐
- Go程序開發實戰寶典