JavaScript unit testing : your comprehensive and practical guide to efficiently performing and automating JavaScript unit testing

A practical, example-driven guide to using, automating, and integrating JavaScript Unit tests for the busy and conscientious JavaScript developer striving for excellence and success. JavaScript Unit Testing is a must have guide for every web developer, designer, architect, and JavaScript coder seeki...

Full description

Saved in:
Bibliographic Details
Main Author: Saleh, Hazem.
Format: eBook
Language: English
Published: Birmingham : Packt Pub., 2013.
Series: Community experience distilled.
Subjects:
ISBN: 9781782160632
1782160639
9781680153538
1680153536
9781782160625
1283971747
9781283971744
1782160620
Physical Description: 1 online resource (175 pages) : illustrations.

Cover

Table of contents

LEADER 05830cam a2200517Ma 4500
001 kn-ocn828739911
003 OCoLC
005 20240717213016.0
006 m o d
007 cr cn|||||||||
008 130129s2013 enka o 001 0 eng d
040 |a E7B  |b eng  |e pn  |c E7B  |d OCLCO  |d OCLCQ  |d N$T  |d UMI  |d IDEBK  |d YDXCP  |d KNOVL  |d OCLCF  |d OCLCQ  |d LOA  |d JBG  |d COCUF  |d AGLDB  |d CNNOR  |d MOR  |d CCO  |d PIFPO  |d OCLCQ  |d TEFOD  |d U3W  |d OCLCQ  |d STF  |d WRM  |d VTS  |d NRAMU  |d NLE  |d INT  |d UKMGB  |d OCLCQ  |d A6Q  |d M8D  |d HS0  |d UKCRE  |d VLY  |d OCLCO  |d OCLCQ  |d OCLCO  |d EZC  |d OCLCO 
020 |a 9781782160632  |q (electronic bk.) 
020 |a 1782160639  |q (electronic bk.) 
020 |a 9781680153538  |q (electronic bk.) 
020 |a 1680153536  |q (electronic bk.) 
020 |z 9781782160625 
020 |a 1283971747 
020 |a 9781283971744 
020 |a 1782160620 
020 |a 9781782160625 
035 |a (OCoLC)828739911  |z (OCoLC)841170787  |z (OCoLC)961602268  |z (OCoLC)962588536  |z (OCoLC)966150157  |z (OCoLC)988528270  |z (OCoLC)992075546  |z (OCoLC)1034905977  |z (OCoLC)1037791028  |z (OCoLC)1038608243  |z (OCoLC)1045518023  |z (OCoLC)1083597630  |z (OCoLC)1153486748  |z (OCoLC)1162000526  |z (OCoLC)1241916054  |z (OCoLC)1290108085  |z (OCoLC)1300513921 
100 1 |a Saleh, Hazem. 
245 1 0 |a JavaScript unit testing :  |b your comprehensive and practical guide to efficiently performing and automating JavaScript unit testing /  |c Hazem Saleh. 
260 |a Birmingham :  |b Packt Pub.,  |c 2013. 
300 |a 1 online resource (175 pages) :  |b illustrations. 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
490 1 |a Community experience distilled 
500 |a Includes index. 
505 0 |a Cover; Copyright; Credits; About the Author; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Unit Testing JavaScript Applications; What unit testing is; Why we need unit testing; What Test-Driven Development (TDD) is; Complexities in testing JavaScript applications; Weather forecasting application; Exploring the application's HTML and JavaScript code; Running the weather application; Summary; Chapter 2: Jasmine; Configuration; Writing your first Jasmine test; The nested describe blocks; Jasmine matchers; The toBe matcher; The toBeDefined and toBeUndefined matchers 
505 8 |a The toBeNull matcherThe toBeTruthy and toBeFalsy matchers; The toContain matcher; The toBeLessThan and toBeGreaterThan matchers; The toMatch matcher; Developing custom Jasmine matchers; Testing asynchronous (Ajax) JavaScript code; The runs() function; The waits() function; The waitsFor() function; The spyOn() function; HTML fixtures; Configuring the jasmine-jquery; The loadFixtures module; Testing the weather application; Testing the LoginClient object; Testing the RegistrationClient object; Testing the WeatherClient object; Running the weather application tests; Summary; Chapter 3: YUI Test 
505 8 |a Writing your first YUI testAssertions; The assert assertion; The areEqual and areNotEqual assertions; The areSame and areNotSame assertions; The datatype assertions; Special value assertions; The fail assertion; Testing asynchronous (Ajax) JavaScript code; The wait and resume functions; Testing the weather application; Testing the LoginClient object; Testing the RegistrationClient object; Testing the WeatherClient object; Running the weather application tests; Generating test reports; Automation and Integration with build management tools; Configuring YUI Test Selenium Driver 
505 8 |a Using YUI Test Selenium Driver in the weather applicationIntegration with build management tools; Summary; Chapter 4: QUnit; Configuration; Writing your first QUnit test; Assertions; The ok assertion; The equal and notEqual assertions; The deepEqual and notDeepEqual assertions; The expect assertion; Developing custom QUnit assertions; Testing asynchronous (Ajax) JavaScript code; The stop and start APIs; Testing the weather application; Testing the LoginClient object; Testing the RegistrationClient object; Testing the WeatherClient object; Running the weather application tests; Summary 
505 8 |a Chapter 5: JsTestDriverArchitecture; Configuration; Writing your first JSTD test; Assertions; The assert, assertTrue, and assertFalse([msg], expression) assertions; The assertEquals and assertNotEquals([msg], expected, actual) assertions; The assertSame and assertNotSame([msg], expected, actual) assertions; The datatype assertions; Special value assertions; The fail([msg]) assertion; Testing asynchronous (Ajax) JavaScript code; AsyncTestCase, queue, and callbacks; Testing the weather application; Testing the LoginClient object; Testing the RegistrationClient object 
506 |a Plný text je dostupný pouze z IP adres počítačů Univerzity Tomáše Bati ve Zlíně nebo vzdáleným přístupem pro zaměstnance a studenty 
520 |a A practical, example-driven guide to using, automating, and integrating JavaScript Unit tests for the busy and conscientious JavaScript developer striving for excellence and success. JavaScript Unit Testing is a must have guide for every web developer, designer, architect, and JavaScript coder seeking to ensure the highest quality of their web applications and JS code. Knowledge of JavaScript is assumed. 
590 |a Knovel  |b Knovel (All titles) 
650 0 |a JavaScript (Computer program language) 
650 0 |a Web sites  |x Design. 
655 7 |a elektronické knihy  |7 fd186907  |2 czenas 
655 9 |a electronic books  |2 eczenas 
776 0 8 |i Print version:  |a Saleh, Hazem.  |t JavaScript unit testing.  |d Birmingham : Packt Pub., 2013  |z 9781782160625  |w (OCoLC)829728103 
830 0 |a Community experience distilled. 
856 4 0 |u https://proxy.k.utb.cz/login?url=https://app.knovel.com/hotlink/toc/id:kpJSUT0003/javascript-unit-testing?kpromoter=marc  |y Full text