Learning Behavior-driven Development with JavaScript
- Length: 345 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2015-02-27
- ISBN-10: 1784392642
- ISBN-13: 9781784392642
- Sales Rank: #965671 (See Top 100 Books)
This book is for any JavaScript developer who is interested in producing well-tested code. If you have no prior experience with testing, NodeJS, or any other tool, do not worry, as they will be explained from scratch. If you have already used some of the tools explained, the book can help you to learn additional testing techniques and best practices.
Table of Contents
Chapter 1. Welcome to BDD
Chapter 2. Automating Tests with Mocha, Chai, and Sinon
Chapter 3. Writing BDD Features
Chapter 4. Cucumber.js and Gherkin
Chapter 5. Testing a REST Web API
Chapter 6. Testing a UI Using WebDriverJS
Chapter 7. The Page Object Pattern
Chapter 8. Testing in Several Browsers with Protractor and WebDriver
Chapter 9. Testing Against External Systems
Chapter 10. Final Thoughts