eBooks-it.org Logo
eBooks-IT.org Inner Image

AngularJS Test-Driven Development

AngularJS Test-Driven Development Image

Book Details:

Publisher:Packt Publishing
Series: Packt
Author:Tim Chaplin
Edition:1
ISBN-10:1784398837
ISBN-13:9781784398835
Pages:205
Published:Jan 29 2015
Posted:Nov 19 2014
Language:English
Book format:PDF
Book size:1.42 MB

Book Description:

Implement the best practices to improve your AngularJS applications using test-driven development About This BookLearn about TDD techniques, the TDD lifecycle, and its power through clear examples to enhance your Angular applicationsIntegrate AngularJS testing using Karma and Protractor to perform JavaScript unit testsA practical guide filled with examples that focus on a wide range of testing techniques with AngularJS componentsWho This Book Is ForThis book is for developers who want to learn about AngularJS development by applying testing techniques. You are assumed to have a basic knowledge and understanding of HTML, JavaScript, and AngularJS. In Detail 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.

Download Link:

Related Books:

Test Driven Development

By Example
Test Driven Development Image
Quite simply, test-driven development is meant to eliminate fear in application development. While some fear is healthy (often viewed as a conscience that tells programmers to "be careful!"), the author believes that byproducts of fear include tentative, grumpy, and uncommunicative programmers who are unable to absorb constructive criticism. When programming teams buy into TDD, they immediately see positive results. They eliminate the fear involved in their jobs, and are better equipped to tackle the difficult challenges that face them. TDD eliminates tentative traits, it teaches programmers to communicate, and it encourages team members to seek out criticism However, even the author admits that grumpiness must be worked out individually! I...

Agile Java

Crafting Code with Test-Driven Development
Agile Java Image
Agile Java is a valuable tutorial and reference. It introduces the Java languagewith no assumptions about a developer's background in Java, object-orienteddevelopment, or TDD. The book will also retain significant value as acookbook that readers will turn to time and again to learn how to approachTDD with respect to various language features.Teh author stresses the importance of TDD by showing coded tests for everyJava feature taught. A programmer learning with this book will understand howto translate oral requirements into tests, and tests into working code. Readersalso learn how TDD impacts the design of the system, and vice versa. In short,anyone who wants to understand what it takes to build a professional, robustsoftware system using Java will ...

Lean-Agile Acceptance Test-Driven Development

Better Software Through Collaboration
Lean-Agile Acceptance Test-Driven Development Image
Praise for Lean-Agile Acceptance Test-Driven Development 'Lean-Agile Acceptance Test-Driven Development tells a tale about three fictive project stakeholders as they use agile techniques to plan and execute their project. The format works well for the book; this book is easy to read, easy to understand, and easy to apply.' -Johannes Brodwall, Chief Scientist, Steria Norway 'Agile development, some say, is all about pairing, and, yes, I'm a believer in the power of pairing. After reading this book, however, I became a fan of the 'triad'-the customer or business analyst + the developer + the tester, who work collaboratively on acceptance tests to drive software development. I've written some patterns for customer interaction and some patt...



2007 - 2021 © eBooks-IT.org