Angular Test-Driven Development - Second Edition
eBook - ePub
Non più disponibile |Scopri di più

Angular Test-Driven Development - Second Edition

Md. Ziaul Haq

Condividi libro
  1. 252 pagine
  2. English
  3. ePUB (disponibile sull'app)
  4. Disponibile su iOS e Android
eBook - ePub
Non più disponibile |Scopri di più

Angular Test-Driven Development - Second Edition

Md. Ziaul Haq

Dettagli del libro
Indice dei contenuti
Citazioni

Informazioni sul libro

Enhance your testing skills to build powerful and fault-free applications in Angular v4About This Book• Learn test-driven development (TDD) for JavaScript• Improve your Karma and Protractor expertise by setting up an Angular test suite• A wide range of testing techniques for professional Angular applications accompanied by practical examplesWho This Book Is ForThis book is for developers who have experience with Angular but want to understand the wider context of when, why, and how to apply testing techniques and best practices to create quality clean code. To get the most out of this book, you should have a good understanding of HTML and JavaScript and a basic understanding of Angular.What You Will Learn• Get a clear overview of TDD in the context of JavaScript with a brief look at testing techniques, tools, and frameworks• Get an overview of Karma and create test suites for an Angular application• Install and configure Protractor for Angular and explore a few important Protractor APIs• Understand automated testing and implement headless automated tests with Karma• Implement testing techniques with mocks, broadcast events, and asynchronous behavior• Integrate REST-based services and APIs into an application to extract data• Automate Karma unit tests with Travis CIIn DetailThis is a complete guide that shows you testing techniques with Karma that will help you perform unit testing and end-to-end testing with Protractor. It will show you how to optimize your Angular development process using TDD techniques and ensure your final project is free of bugs. All examples in this book are based on Angular v2 and are compatible with Angular v4.We start by reviewing the TDD life cycle, TDD in the context of JavaScript, and various JavaScript test tools and frameworks. You will see how Karma and Protractor can make your life easier while running JavaScript unit tests. We will enable you to build a test suite for an Angular application and build a testable medium-to-large scale Angular application by handling REST API data.Building on the initial foundational aspects, we move on to testing for multiple classes, partial views, location references, CSS, and the HTML element. In addition, we will explore how to use a headless browser with Karma. We will also configure a Karma file to automate the testing and tackle elements of Angular (components, services, classes, and broadcasting) using TDD.Finally, you will find out how to pull data using an external API, set up and configure Protractor to use a standalone Selenium server, and set up Travis CI and Karma to test your application.Style and approachThis book is a complete guide to Angular unit testing techniques using Karma and performing end-to-end testing with Protractor.

Domande frequenti

Come faccio ad annullare l'abbonamento?
È semplicissimo: basta accedere alla sezione Account nelle Impostazioni e cliccare su "Annulla abbonamento". Dopo la cancellazione, l'abbonamento rimarrà attivo per il periodo rimanente già pagato. Per maggiori informazioni, clicca qui
È possibile scaricare libri? Se sì, come?
Al momento è possibile scaricare tramite l'app tutti i nostri libri ePub mobile-friendly. Anche la maggior parte dei nostri PDF è scaricabile e stiamo lavorando per rendere disponibile quanto prima il download di tutti gli altri file. Per maggiori informazioni, clicca qui
Che differenza c'è tra i piani?
Entrambi i piani ti danno accesso illimitato alla libreria e a tutte le funzionalità di Perlego. Le uniche differenze sono il prezzo e il periodo di abbonamento: con il piano annuale risparmierai circa il 30% rispetto a 12 rate con quello mensile.
Cos'è Perlego?
Perlego è un servizio di abbonamento a testi accademici, che ti permette di accedere a un'intera libreria online a un prezzo inferiore rispetto a quello che pagheresti per acquistare un singolo libro al mese. Con oltre 1 milione di testi suddivisi in più di 1.000 categorie, troverai sicuramente ciò che fa per te! Per maggiori informazioni, clicca qui.
Perlego supporta la sintesi vocale?
Cerca l'icona Sintesi vocale nel prossimo libro che leggerai per verificare se è possibile riprodurre l'audio. Questo strumento permette di leggere il testo a voce alta, evidenziandolo man mano che la lettura procede. Puoi aumentare o diminuire la velocità della sintesi vocale, oppure sospendere la riproduzione. Per maggiori informazioni, clicca qui.
Angular Test-Driven Development - Second Edition è disponibile online in formato PDF/ePub?
Sì, puoi accedere a Angular Test-Driven Development - Second Edition di Md. Ziaul Haq in formato PDF e/o ePub, così come ad altri libri molto apprezzati nelle sezioni relative a Computer Science e Programming in JavaScript. Scopri oltre 1 milione di libri disponibili nel nostro catalogo.

Informazioni

Anno
2017
ISBN
9781786462763

Indice dei contenuti