Angular Test-Driven Development - Second Edition
eBook - ePub
Ya no está disponible |Más información

Angular Test-Driven Development - Second Edition

Md. Ziaul Haq

Compartir libro
  1. 252 páginas
  2. English
  3. ePUB (apto para móviles)
  4. Disponible en iOS y Android
eBook - ePub
Ya no está disponible |Más información

Angular Test-Driven Development - Second Edition

Md. Ziaul Haq

Detalles del libro
Índice
Citas

Información del 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.

Preguntas frecuentes

¿Cómo cancelo mi suscripción?
Simplemente, dirígete a la sección ajustes de la cuenta y haz clic en «Cancelar suscripción». Así de sencillo. Después de cancelar tu suscripción, esta permanecerá activa el tiempo restante que hayas pagado. Obtén más información aquí.
¿Cómo descargo los libros?
Por el momento, todos nuestros libros ePub adaptables a dispositivos móviles se pueden descargar a través de la aplicación. La mayor parte de nuestros PDF también se puede descargar y ya estamos trabajando para que el resto también sea descargable. Obtén más información aquí.
¿En qué se diferencian los planes de precios?
Ambos planes te permiten acceder por completo a la biblioteca y a todas las funciones de Perlego. Las únicas diferencias son el precio y el período de suscripción: con el plan anual ahorrarás en torno a un 30 % en comparación con 12 meses de un plan mensual.
¿Qué es Perlego?
Somos un servicio de suscripción de libros de texto en línea que te permite acceder a toda una biblioteca en línea por menos de lo que cuesta un libro al mes. Con más de un millón de libros sobre más de 1000 categorías, ¡tenemos todo lo que necesitas! Obtén más información aquí.
¿Perlego ofrece la función de texto a voz?
Busca el símbolo de lectura en voz alta en tu próximo libro para ver si puedes escucharlo. La herramienta de lectura en voz alta lee el texto en voz alta por ti, resaltando el texto a medida que se lee. Puedes pausarla, acelerarla y ralentizarla. Obtén más información aquí.
¿Es Angular Test-Driven Development - Second Edition un PDF/ePUB en línea?
Sí, puedes acceder a Angular Test-Driven Development - Second Edition de Md. Ziaul Haq en formato PDF o ePUB, así como a otros libros populares de Computer Science y Programming in JavaScript. Tenemos más de un millón de libros disponibles en nuestro catálogo para que explores.

Información

Año
2017
ISBN
9781786462763
Edición
2

Índice