Cargando…

Backbone.js testing : plan, architect, and develop tests for Backbone.js applications using modern testing principles and practices /

This book is packed with the step by step tutorial and instructions in recipe format helping you setup test infrastructure and gradually advance your skills to plan, develop, and test your backbone applications. If you are a JavaScript developer looking for recipes to create and implement test suppo...

Descripción completa

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

MARC

LEADER 00000cam a2200000Ma 4500
001 EBOOKCENTRAL_ocn857078903
003 OCoLC
005 20240329122006.0
006 m o d
007 cr cn|||||||||
008 130722s2013 enka o 001 0 eng d
040 |a E7B  |b eng  |e pn  |c E7B  |d OCLCO  |d OCLCQ  |d OCLCF  |d COO  |d EBLCP  |d YDXCP  |d MEAUC  |d S4S  |d DEBSZ  |d N$T  |d OCLCQ  |d LOA  |d AGLDB  |d MOR  |d PIFAG  |d ZCU  |d MERUC  |d OCLCQ  |d U3W  |d STF  |d WRM  |d OCLCQ  |d VTS  |d NRAMU  |d ICG  |d NLE  |d INT  |d VT2  |d OCLCQ  |d UKMGB  |d OCLCQ  |d A6Q  |d DKC  |d OCLCQ  |d UKAHL  |d NLW  |d OCLCQ  |d UKCRE  |d AJS  |d TUHNV  |d OCLCO  |d OCLCQ  |d OCLCO 
015 |a GBB747095  |2 bnb 
016 7 |a 018005354  |2 Uk 
019 |a 854520217  |a 961540928  |a 962679644  |a 974740469  |a 974865490  |a 981894061  |a 1005639984  |a 1017995466  |a 1042323646  |a 1048737090  |a 1049147329  |a 1053517396  |a 1063716461  |a 1081240702  |a 1083593055  |a 1103262034  |a 1118422099  |a 1129357409  |a 1152975219  |a 1153533745  |a 1192345752  |a 1228549957  |a 1240515487  |a 1243594509  |a 1274804105 
020 |a 9781782165255  |q (e-book) 
020 |a 1782165258  |q (e-book) 
020 |a 178216524X 
020 |a 9781782165248 
020 |z 9781782165248 
029 1 |a AU@  |b 000055914479 
029 1 |a CHNEW  |b 000637375 
029 1 |a CHNEW  |b 001051667 
029 1 |a CHVBK  |b 567704874 
029 1 |a DEBBG  |b BV043777145 
029 1 |a DEBBG  |b BV044175521 
029 1 |a DEBSZ  |b 397546874 
029 1 |a DEBSZ  |b 472797654 
029 1 |a NZ1  |b 15912956 
029 1 |a UKMGB  |b 018005354 
035 |a (OCoLC)857078903  |z (OCoLC)854520217  |z (OCoLC)961540928  |z (OCoLC)962679644  |z (OCoLC)974740469  |z (OCoLC)974865490  |z (OCoLC)981894061  |z (OCoLC)1005639984  |z (OCoLC)1017995466  |z (OCoLC)1042323646  |z (OCoLC)1048737090  |z (OCoLC)1049147329  |z (OCoLC)1053517396  |z (OCoLC)1063716461  |z (OCoLC)1081240702  |z (OCoLC)1083593055  |z (OCoLC)1103262034  |z (OCoLC)1118422099  |z (OCoLC)1129357409  |z (OCoLC)1152975219  |z (OCoLC)1153533745  |z (OCoLC)1192345752  |z (OCoLC)1228549957  |z (OCoLC)1240515487  |z (OCoLC)1243594509  |z (OCoLC)1274804105 
037 |a 9781782165255  |b Packt Publishing Pvt. Ltd 
050 4 |a QA76.73.J39  |b R64 2013eb 
072 7 |a COM  |x 000000  |2 bisacsh 
082 0 4 |a 005.2  |2 23 
049 |a UAMI 
100 1 |a Roemer, Ryan. 
245 1 0 |a Backbone.js testing :  |b plan, architect, and develop tests for Backbone.js applications using modern testing principles and practices /  |c Ryan Roemer. 
260 |a Birmingham :  |b Packt Pub.,  |c 2013. 
300 |a 1 online resource (iv, 154 pages) :  |b illustrations (some color) 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
347 |a data file  |2 rda 
490 1 |a Community experience distilled 
500 |a Includes index. 
505 0 |a Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1:Setting Up a Test Infrastructure; Designing an application and test repository structure; Getting the test libraries; Mocha; Chai; Sinon. JS; Setting up and writing our first tests; The test driver page; Adding some tests; Running and assessing test results; The first test report; Test report actions; Test timing and slow tests; Test failures; Summary; Chapter 2:Creating a Backbone.js Application Test Plan; A Backbone.js refresher. 
505 8 |a Selecting a Backbone.js application to testGetting acquainted with the Notes application; Anatomy of the Notes application; Test paradigms and methods; Testing concepts, approaches, and planning; Testing individual Backbone.js components; Models; Collections; Templates; Views; Routers; Utilities; Testing application interactions and events; Partial integrations; Events; Dipping our toes in the application testing waters; Namespace; Note model; Running the application tests; Summary; Chapter 3:Test Assertions, Specs, and Suites; Choosing a test style that fits; Mocha test interfaces. 
505 8 |a Chai assertion stylesTrying out some different styles; Mocha and Chai BDD interfaces; Mocha TDD and Chai assert styles; Deciding on the project style; A tour of the Chai assertion library; Chaining objects and assertions; Basic value assertions; Comparing values; Object and array validation; Errors; Getting the application and tests ready to run; The Mocha test runner; Reconfiguring the application for testing; Organizing topics and specifications into test suites; Starting up and winding down tests; Writing Mocha test specifications; Asynchronous behavior in tests. 
505 8 |a Some Backbone.js collection testsTesting and supporting Backbone.js views; The Notes application single note view; Creating HTML fixtures for view tests; Walking through the view test suite; Aggregating and running the application tests; Test development tips, tricks, and hints; Isolating and excluding tests; Writing testable application code; Summary; Chapter 4:Test Spies; Fake it 'til you make it; Getting to know Sinon. JS; Spying on functions with Sinon. JS; Anonymous spies; Spy assertions; Function spies; Object method spies; Playing in the sandbox with Sinon. JS test helpers. 
505 8 |a Delving into the Sinon. JS spy APIThe spy API; The spy call API; Spicing up Chai with the Sinon. JS plugin; Introducing and installing Chai plugins; The Sinon. JS plugin; Testing Backbone.js components with spies; The Notes menu bar view; The menu bar view; Testing and spying on the menu bar view; The Notes single note view; The single note view; Testing the single note view; Hooking up and running the view tests; Summary; Chapter 5:Test Stubs and Mocks; Replacing method behaviors with Sinon. JS stubs; Getting started with stubs; The stub API; Faking and verifying behavior with Sinon. JS mocks. 
520 |a This book is packed with the step by step tutorial and instructions in recipe format helping you setup test infrastructure and gradually advance your skills to plan, develop, and test your backbone applications. If you are a JavaScript developer looking for recipes to create and implement test support for your backbone application, then this book is ideal for you. 
506 1 |a Legal Deposit;  |c Only available on premises controlled by the deposit library and to one user at any one time;  |e The Legal Deposit Libraries (Non-Print Works) Regulations (UK).  |5 WlAbNL 
540 |a Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.  |5 WlAbNL 
590 |a ProQuest Ebook Central  |b Ebook Central Academic Complete 
590 |a eBooks on EBSCOhost  |b EBSCO eBook Subscription Academic Collection - Worldwide 
650 0 |a JavaScript (Computer program language) 
650 0 |a Web site development. 
650 0 |a Application software  |x Development. 
650 6 |a JavaScript (Langage de programmation) 
650 6 |a Sites Web  |x Développement. 
650 6 |a Logiciels d'application  |x Développement. 
650 7 |a COMPUTERS  |x General.  |2 bisacsh 
650 7 |a Application software  |x Development  |2 fast 
650 7 |a JavaScript (Computer program language)  |2 fast 
650 7 |a Web site development  |2 fast 
776 0 8 |i Print version:  |a Roemer, Ryan.  |t Testing Backbone.js.  |d Birmingham : Packt Publishing, ©2013  |z 9781782165248 
830 0 |a Community experience distilled. 
856 4 0 |u https://ebookcentral.uam.elogim.com/lib/uam-ebooks/detail.action?docID=1192680  |z Texto completo 
938 |a Askews and Holts Library Services  |b ASKH  |n AH26849534 
938 |a EBL - Ebook Library  |b EBLB  |n EBL1192680 
938 |a ebrary  |b EBRY  |n ebr10733930 
938 |a EBSCOhost  |b EBSC  |n 608696 
938 |a YBP Library Services  |b YANK  |n 10861126 
994 |a 92  |b IZTAP