Jasmine JavaScript Testing (Update)

Paulo Ragonha

  • 出版商: Packt Publishing
  • 出版日期: 2015-04-30
  • 售價: $1,280
  • 貴賓價: 9.5$1,216
  • 語言: 英文
  • 頁數: 144
  • 裝訂: Paperback
  • ISBN: 1785282042
  • ISBN-13: 9781785282041
  • 相關分類: JavaScript
  • 下單後立即進貨 (約3~4週)


Test your JavaScript applications efficiently using Jasmine and React.js

About This Book

  • Leverage the power of unit testing React.js to develop full-fledged JavaScript applications
  • Learn the best practices of modularization and code organization while scaling your application
  • Enhance your practical skills required to develop applications using the Jasmine framework in a step-by-step manner

Who This Book Is For

This book is for web developers and designers who work with React.js and JavaScript and who are new to unit testing and automation. It's assumed that you have a basic knowledge of JavaScript and HTML.

What You Will Learn

  • Understand and use the power of Jasmine to create better and more maintainable code bases
  • Drive your application development entirely by tests
  • Write modular and reusable code through the power of ECMA Script 6 (ES6) modules
  • Use asynchronous tests, stubs, and spies optimally
  • Test drive a React.js single-page application
  • Optimize your code to unleash the power of tooling and automation

In Detail

Take your testing of JavaScript applications to a new level of efficiency and reliability with the help of this book. Starting with the fundamentals of Jasmine and behavior-driven development (BDD), you will learn about tooling and automation. You will learn how to create a sustainable code base with the help of Jasmine. You will also take a look at integrated testing with React.js and Karma, 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. You will understand the concept of client-side and server-side rendering and test applications using React.js. You will also learn to automate using webpack and work with JavaScript module systems using ECMA Script 6 (ES6) modules.

By the end of this book, you will be a competent web developer with good knowledge and a strong understanding of how to efficiently use the Jasmine framework for testing purposes.