AngularJS Test-driven Development

Implement the best practices to improve your AngularJS applications using test-driven development



Bookstore > Books > AngularJS Test-driven Development

Price$29.99
Rating
AuthorTim Chaplin
PublisherPackt Publishing
Published2015
Pages206
LanguageEnglish
FormatPaper book / ebook (PDF)
ISBN-101784398837
ISBN-139781784398835
EBook Hardcover Paperback

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.




4 5 13

Similar Books


Lean-Agile Acceptance Test-Driven Development

Lean-Agile Acceptance Test-Driven Development

by Ken Pugh

Within the framework of Acceptance Test-Driven-Development (ATDD), customers, developers, and testers collaborate to create acceptance tests that thoroughly describe how software should work from the customer's viewpoint. By tightening the links between customers and agile teams, ATDD can significantly improve both software quality a...

Price:  $25.00  |  Publisher:  Addison-Wesley  |  Release:  2010

Test-Driven JavaScript Development

Test-Driven JavaScript Development

by Ravi Kumar Gupta, Hetal Prajapati, Harmeet Singh

Initially, all processing used to happen on the server-side and simple output was the response to web browsers. Nowadays, there are so many JavaScript frameworks and libraries created that help readers to create charts, animations, simulations, and so on. By the time a project finishes or reaches a stable state, so much JavaScript code ha...

Price:  $39.99  |  Publisher:  Packt Publishing  |  Release:  2015

Test-Driven JavaScript Development

Test-Driven JavaScript Development

by Christian Johansen

For JavaScript developers working on increasingly large and complex projects, effective automated testing is crucial to success. Test-Driven JavaScript Development is a complete, best-practice guide to agile JavaScript testing and quality assurance with the test-driven development (TDD) methodology. Leading agile JavaScript developer Chri...

Price:  $10.29  |  Publisher:  Addison-Wesley  |  Release:  2010

Test-Driven Development with Python

Test-Driven Development with Python

by Harry J.W. Percival

By taking you through the development of a real web application from beginning to end, this hands-on guide demonstrates the practical advantages of test-driven development (TDD) with Python. You'll learn how to write and run tests before building each part of your app, and then develop the minimum amount of code required to pass thos...

Price:  $3.02  |  Publisher:  O'Reilly Media  |  Release:  2014

Test-Driven Development with Python, 2nd Edition

Test-Driven Development with Python, 2nd Edition

by Harry Percival

By taking you through the development of a real web application from beginning to end, the second edition of this hands-on guide demonstrates the practical advantages of test-driven development (TDD) with Python. You'll learn how to write and run tests before building each part of your app, and then develop the minimum amount of code...

Price:  $51.87  |  Publisher:  O'Reilly Media  |  Release:  2017

Instant RSpec Test-Driven Development How-to

Instant RSpec Test-Driven Development How-to

by Charles Feduke

RSpec is a behaviour driven development framework for Ruby programmers. It comes integrated with its own mocking framework based on Jmock. This book introduces you to RSpec helping you to write idiomatic specifications for Ruby code in a test first approach.Instant RSpec Test-Driven Development How-to is filled with examples of actual cod...

Price:  $14.99  |  Publisher:  Packt Publishing  |  Release:  2013

Python Testing Cookbook, 2nd Edition

Python Testing Cookbook, 2nd Edition

by Greg L. Turnquist, Bhaskar N. Das

Automated testing is the best way to increase efficiency while reducing the defects of software testing. It helps find bugs in code easily and at an early stage so that they can be tackled efficiently. This book delves into essential testing concepts used in Python to help you build robust and maintainable code.Python Testing Cookbook beg...

Price:  $44.99  |  Publisher:  Packt Publishing  |  Release:  2018

Acceptance Test Driven Development with React

Acceptance Test Driven Development with React

by Juntao Qiu

This book describes how to apply the Acceptance Test Driven Development when developing a Web Application named bookish with React / Redux and other tools in react ecosystem. It also introduces best practices and design patterns in detail about how to write clean code.Using ATDD to build a React Application from scratch. During the develo...

Free ebook  |  Publisher:  Leanpub  |  Release:  2020