Cargando…

Jasmine JavaScript testing : leverage the power of unit testing to create bigger and better JavaScript applications /

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...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Ragonha, Paulo
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, England : Packt Publishing, 2013.
Colección:Community experience distilled.
Temas:
Acceso en línea:Texto completo

MARC

LEADER 00000cam a2200000 i 4500
001 EBSCO_ocn880598624
003 OCoLC
005 20231017213018.0
006 m o d
007 cr |n|||||||||
008 130921s2013 enka ob 001 0 eng d
040 |a VT2  |b eng  |e pn  |c VT2  |d OCLCO  |d EBLCP  |d IDEBK  |d UMI  |d E7B  |d DEBSZ  |d COO  |d YDXCP  |d OCLCQ  |d FEM  |d CNNOR  |d MOR  |d PIFAG  |d N$T  |d ZCU  |d AGLDB  |d MERUC  |d OCLCQ  |d OCLCO  |d TEFOD  |d D6H  |d OCLCQ  |d OCLCO  |d OCLCF  |d VTS  |d ICG  |d OCLCQ  |d OCLCO  |d STF  |d DKC  |d OCLCQ  |d OCLCO  |d AJS  |d UKMGB  |d OCLCQ  |d OCLCO 
015 |a GBC1H5440  |2 bnb 
016 7 |a 018005400  |2 Uk 
019 |a 857365242  |a 861503466  |a 961594418  |a 962699533  |a 968094665  |a 968990684 
020 |a 9781782167211  |q (electronic bk.) 
020 |a 1782167218  |q (electronic bk.) 
020 |z 9781782167204 
020 |z 178216720X 
029 1 |a AU@  |b 000052162296 
029 1 |a AU@  |b 000055979275 
029 1 |a AU@  |b 000066751381 
029 1 |a CHNEW  |b 000634494 
029 1 |a CHNEW  |b 001052095 
029 1 |a CHVBK  |b 567709159 
029 1 |a DEBBG  |b BV041433230 
029 1 |a DEBBG  |b BV044062960 
029 1 |a DEBSZ  |b 397626118 
029 1 |a DEBSZ  |b 398292108 
029 1 |a DEBSZ  |b 493144862 
029 1 |a NZ1  |b 15908961 
029 1 |a UKMGB  |b 018005400 
035 |a (OCoLC)880598624  |z (OCoLC)857365242  |z (OCoLC)861503466  |z (OCoLC)961594418  |z (OCoLC)962699533  |z (OCoLC)968094665  |z (OCoLC)968990684 
037 |a CL0500000328  |b Safari Books Online 
037 |a 3C01445D-9AC5-4E82-9DCF-57F7D8400476  |b OverDrive, Inc.  |n http://www.overdrive.com 
050 4 |a QA76.73  |b .J39 2013eb 
072 7 |a COM  |x 051280  |2 bisacsh 
082 0 4 |a 005.133 
049 |a UAMI 
100 1 |a Ragonha, Paulo. 
245 1 0 |a Jasmine JavaScript testing :  |b leverage the power of unit testing to create bigger and better JavaScript applications /  |c Paulo Ragonha. 
260 |a Birmingham, England :  |b Packt Publishing,  |c 2013. 
300 |a 1 online resource (146 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 
347 |a text file 
490 1 |a Community experience distilled 
588 0 |a Online resource; title from PDF title page (ebrary, viewed September 21, 2013). 
505 0 |a 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. 
505 8 |a 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. 
505 8 |a Thinking in terms of components (Views)The module pattern; Using HTML fixtures; Basic View coding rules; The View should encapsulate a DOM element; Integrate Views with observers; Testing Views with jQuery matchers; The toBe jQuery matcher; The toContainHtml jQuery matcher; The toContain jQuery matcher; The toHaveValue jQuery matcher; The toHaveAttr jQuery matcher; The toBeFocused jQuery matcher; The toBeDisabled jQuery matcher; More matchers; Summary; 4. Asynchronous Testing -- AJAX; Setting up the Scenario; Installing Node.js; Coding the server; Running the server; Writing the spec. 
505 8 |a The waitsFor() functionThe runs() function; Summary; 5. Jasmine Spies; The ""bare"" Spy; Spy an object's functions; Testing DOM events; Summary; 6. Light Speed Unit Testing; Jasmine Stubs; Sinon. JS; Installing Sinon. JS; A Fake XMLHttpRequest; A Fake server; Summary; 7. Testing Backbone.js Applications; The Backbone model; Declaring a new model; The model attributes; Default attribute values; Events; Sync and AJAX requests; Testing Backbone collections; Declaring a new collection; Sync and AJAX requests; Testing Backbone Views; Declaring a new View; The el property; Rendering. 
505 8 |a Updating the View on model changesBinding DOM events; Testing Backbone routers; Defining a new router; Defining routes; Using routers; Routers should only route; Summary; 8. Build Automation; RequireJS; Module definition; Project setup; The new SpecRunner. JS file; The RequireJS configuration; Using non AMD dependencies with Shim; Testing a module; Optimizing for production; Headless testing with PhantomJS; Downloading and installing PhantomJS; Running your tests without opening a browser; Grunt; Installation; Project setup; A RequireJS optimizer task; A Jasmine task. 
520 |a 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. 
504 |a Includes bibliographical references and index. 
590 |a eBooks on EBSCOhost  |b EBSCO eBook Subscription Academic Collection - Worldwide 
630 0 7 |a Jasmine (Computer file)  |2 blmlsh 
650 0 |a Computer software  |x Testing. 
650 0 |a JavaScript (Computer program language)  |x Testing. 
650 7 |a COMPUTERS  |x Programming Language  |x Java.  |2 bisacsh 
650 7 |a Computer software  |x Testing  |2 fast 
776 0 8 |i Print version:  |a Ragonha, Paulo.  |t Jasmine JavaScript Testing.  |d Birmingham : Packt Publishing, ©2013  |z 9781782167204 
830 0 |a Community experience distilled. 
856 4 0 |u https://ebsco.uam.elogim.com/login.aspx?direct=true&scope=site&db=nlebk&AN=637224  |z Texto completo 
936 |a BATCHLOAD 
938 |a ebrary  |b EBRY  |n ebr10754130 
938 |a EBSCOhost  |b EBSC  |n 637224 
938 |a ProQuest MyiLibrary Digital eBook Collection  |b IDEB  |n cis26098888 
938 |a YBP Library Services  |b YANK  |n 11090691 
994 |a 92  |b IZTAP