Title Statements
- Full title :Jasmine JavaScript testing / Paulo Ragonha.
Summary
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. 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.
Read More ↓Edition Statements
- Publication Date:2013.
Publication Statements
- Publisher(s):Packt Publishing
- Place of Publication:Birmingham, England
- Language:eng
- Publication Date:2013.
Notes
Includes index.
The Physical Object
- Description:1 online resource (146 pages) : : illustrations.
Edition Identifiers
- ISBN:9781782167211, 1782167218
- oclc:on1018013919
- LC Classification:QA76.73.J39
- Dewey Decimal:005.133
Table of Contents
Table of Contents; Jasmine JavaScript Testing; Jasmine JavaScript Testing; Credits; About the Author; About the Reviewers; www.PacktPub.com; Support files, eBooks, discount offers and more; Why Subscribe?; Free Access for Packt account holders; Preface; What this book covers; Who this book is for; Conventions; Reader feedback; Customer support; Downloading the example code; Errata; Piracy; Questions; 1. Getting Started with Jasmine; JavaScript -- the bad parts; Jasmine and Behavior-Driven Development; Downloading and first run; Summary; 2. Your First Spec; The Investment Tracker application.
Jasmine basics and thinking in BDDSetup and teardown; Nested describes; Setup and teardown; Coding a spec with shared behavior; Understanding matchers; Custom matchers; Built-in matchers; The toEqual built-in matcher; The toBe built-in matcher; The toBeTruthy and toBeFalsy matchers; The toBeUndefined, toBeNull, and toBeNaN built-in matchers; The toBeDefined built-in matcher; The toContain built-in matcher; The toMatch built-in matcher; The toBeLessThan and toBeGreaterThan built-in matchers; The toThrow built-in matcher; Summary; 3. Testing Frontend Code.
Thinking in terms of components (View…
Rate & Review