Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Jasmine JavaScript Testing

Buy
Jasmine JavaScript Testing, 9781782167204 (178216720X), Packt Publishing, 2013

From a little renegade scripting language to the de facto standard platform of today, JavaScript has become a universal language available in the widest range of devices; it is truly the 'write once, run everywhere’ language. However, as JavaScript applications become more complicated, testing and applying sustainable software engineering practices also become mandatory.

Jasmine JavaScript Testing is a practical guide to a more sustainable JavaScript development process. You will learn by example how to drive the development of a web application using tests and best practices.

This book is about becoming a better JavaScript developer. So, throughout the chapters, you will not only learn about writing tests, but also about the best practices for writing software in the JavaScript language. This book is about acknowledging JavaScript as a real platform for application development and leveraging all of its potential. You will also learn about tooling and automation and how to make your life easier and more productive.

You will learn how to create a sustainable codebase with the help of Jasmine. We will take a look at integrated testing (with a backend NodeJS server) and how you can speed this process up by faking AJAX requests. As you progress through the book, you will learn about the challenges of testing an application built on top of a framework and how you can prevent your application from suffering from dependency management hell. Also, since your applications need to get into production, you will learn about optimizing the code to reduce the number of requests the browser needs to make while loading your application.

With this book, you will learn everything you need to know to become a real professional in the ever-demanding JavaScript universe.

What you will learn from this book

  • Drive your application development entirely by tests
  • Organize your application code in modules with RequireJS
  • Create a fully-tested jQuery plugin
  • Solve problems and learn best practices for asynchronous testing
  • Use Stubs and Spies to perform quick unit testing
  • Test-drive a BackboneJS application
  • Optimize your JavaScript code to production
  • Master the power of tooling and automation with GruntJS
  • Run your tests on the cloud with Travis-CI

Approach

The book uses a concise, to-the-point approach to help developers understand and use the power of Jasmine to create better and more maintainable codebases.

Who this book is written for

This book is a must-have guide for web developers who are new to the concept of unit testing. It’s assumed that you have a basic knowledge of JavaScript and HTML.

(HTML tags aren't allowed.)

Professional Microsoft SQL Server 2012 Administration
Professional Microsoft SQL Server 2012 Administration

SQL SERVER 2012 REPRESENTS A SIZABLE jump forward in scalability, performance, and usability for the DBA, developer, and business intelligence (BI) developer. It is no longer unheard of to have 40-terabyte databases running on a SQL Server. SQL Server administration used to just be the job of a database administrator (DBA), but as SQL Server...

Hardware Verification with C++: A Practitioners Handbook
Hardware Verification with C++: A Practitioners Handbook
There are several books about hardware verification, so what makes this handbook different? Put simply, this handbook is meant to be useful in your day-to-day work. The authors are like you, cube dwellers, with battle scars from developing chips. We must cope with impossible schedules, a shortage of people to do...
ColdFusion MX: From Static to Dynamic in 10 Steps
ColdFusion MX: From Static to Dynamic in 10 Steps

ColdFusion MX: From Static to Dynamic in 10 Steps has 10 Steps to converting a static site to a dynamic site using ColdFusion MX, with reusable real-world examples and exercises make this book easy to use and the concepts easy to incorporate. This book sorts through the technical detail...


Informatics for the Clinical Laboratory: A Practical Guide for the Pathologist (Health Informatics)
Informatics for the Clinical Laboratory: A Practical Guide for the Pathologist (Health Informatics)

This series is directed to healthcare professionals who are leading the tra- formation of health care by using information and knowledge. Launched in 1988 as Computers in Health Care, the series offers a broad range of titles: some addressed to specific professions such as nursing, medicine, and health administration; others to special areas...

Nutrition Support for Infants and Children at Risk: 59th Nestlé Nutrition Workshop, Pediatric Program, Berlin, April 2006 (Nestlé Nutrition Institute Workshop Series, Vol. 59)
Nutrition Support for Infants and Children at Risk: 59th Nestlé Nutrition Workshop, Pediatric Program, Berlin, April 2006 (Nestlé Nutrition Institute Workshop Series, Vol. 59)

Adequate nutrition is especially important during infancy and childhood, where even short periods of malnutrition have long-lasting effects on growth, development and health in adult life. There are several high-risk scenarios for the development of malnutrition, which are the focus of the current publication: Atopic diseases,...

Weird Science: 40 Strange-Acting, Bizarre-Looking, and Barely Believable Activities for Kids
Weird Science: 40 Strange-Acting, Bizarre-Looking, and Barely Believable Activities for Kids
Discover the weird science behind the ickiest, wackiest, most unusual things ever to exist!

Would you like to make your own slime, discover how lava lamps work, or learn how materials decompose?
Have you ever heard about ball lightning or the Aurora Borealis on the news and wondered what the reporter was talking about?
Are
...

©2021 LearnIT (support@pdfchm.net) - Privacy Policy