目錄(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
推薦閱讀
- HTML5+CSS3王者歸來
- Mastering ServiceStack
- 深入理解Django:框架內幕與實現原理
- R語言編程指南
- 深入理解Android:Wi-Fi、NFC和GPS卷
- Visual C++開發入行真功夫
- Illustrator CC平面設計實戰從入門到精通(視頻自學全彩版)
- Xcode 6 Essentials
- Getting Started with Polymer
- Distributed Computing in Java 9
- Java EE Web應用開發基礎
- SQL Server實例教程(2008版)
- 企業級Java現代化:寫給開發者的云原生簡明指南
- Go Systems Programming
- Python趣味創意編程
- VMware vRealize Orchestrator Essentials
- C語言從入門到精通(第4版)
- Scratch 3少兒交互式游戲編程一本通
- Java程序設計項目教程(第二版)
- Learning .NET High:performance Programming
- C#程序設計經典300例
- 寫給風控師的實操手冊(全2冊)
- Java程序設計教程(第2版)
- Unity Shaders and Effects Cookbook
- Python網絡爬蟲實戰(第2版)
- Microsoft Dynamics NAV 2013 Application Design
- Getting Started with Terraform(Second Edition)
- Python編程基礎(中學版)
- ROS機器人編程零基礎入門與實踐
- 從零開始:PHP網頁開發基礎