目錄(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
推薦閱讀
- Python科學計算(第2版)
- Instant 960 Grid System
- Linux網絡程序設計:基于龍芯平臺
- Visual Basic程序設計教程
- Java程序設計與實踐教程(第2版)
- Unity Shader入門精要
- Kinect for Windows SDK Programming Guide
- 琢石成器:Windows環境下32位匯編語言程序設計
- 程序是怎樣跑起來的(第3版)
- Python數據結構與算法(視頻教學版)
- 編程與類型系統
- Microsoft 365 Certified Fundamentals MS-900 Exam Guide
- ArcGIS for Desktop Cookbook
- Managing Microsoft Hybrid Clouds
- GitHub入門與實踐
- Practical Predictive Analytics
- Python預測分析與機器學習
- Java程序設計及應用開發
- 區塊鏈原理、設計與應用
- 深入理解Android:WebKit卷
- Hands-On Game Development Patterns with Unity 2019
- Performance Testing with JMeter 3(Third Edition)
- 網頁設計理論與實踐
- Deep Learning with TensorFlow(Second Edition)
- 基于YANG的可編程網絡:用YANG、NETCONF、RESTCONF和gNMI實現網絡自動化架構
- Android Programming for Beginners
- Building Web and Mobile ArcGIS Server Applications with JavaScript
- Visual C#.NET程序設計教程(第2版)
- 高級前端程序員面試筆試寶典
- Python快速編程入門(第2版)