AngularJS Test-driven Development
Год: 2015
Автор: Tim Chaplin
Издательство: Packt Publishing
ISBN: 978-1-78439-382-3
Язык: Английский
Формат: PDF/EPUB/MOBI
Качество: Изначально компьютерное (eBook)
Интерактивное оглавление: Да
Количество страниц: 206
Описание:
Starting with reviewing the test-driven development (TDD) life cycle, you will learn how Karma and Protractor make your life easier while running JavaScript unit tests. You will learn how Protractor is different from Selenium and how to test it entirely. This book is a walk-through to using TDD to build an AngularJS application containing a controller, model, and scope.
Building on the initial foundational aspects, you will expand to include testing for multiple controllers, partial views, location references, CSS, and the HTML element. In addition, you will explore using a headless browser with Karma. You will also configure Karma file watching to automate testing and tackle components of AngularJS (controller, service, model, and broadcasting) using TDD. At the end of this book, you will extend explore how to pull data using an external API, setting up and configuring Protractor to use a standalone Selenium server, and setting up Travis CI and Karma to test your application.
This book is a complete guide to testing techniques using Karma for unit testing and performing end-to-end testing with Protractor.
Preface
Chapter 1: Introduction to Test-driven Development
Chapter 2: The Karma Way
Chapter 3: End-to-end Testing with Protractor
Chapter 4: The First Step
Chapter 5: Flip Flop
Chapter 6: Telling the World
Chapter 7: Give Me Some Data
A. Integrating Selenium Server with Protractor
B. Automating Karma Unit Testing on Commit
C. Answers
Index
До перезалития, торрент был скачан - 675 раз.
Торрент перезалит. Причина: замена PDF, EPUB и MOBI на True-версии.