Test-driving JavaScript applications: rapid, confident, maintainable code
Debunk the myth that JavaScript is not easily testable. Whether you use Node.js, Express, MongoDB, jQuery, AngularJS, or directly manipulate the DOM, you can test-drive JavaScript. Learn the craft of writing meaningful, deterministic automated tests with Karma, Mocha, and Chai. Test asynchronous Jav...
Saved in:
Main Author: | |
---|---|
Format: | Electronic eBook |
Language: | English |
Published: |
[Raleigh, North Carolina]
The Pragmatic Bookshelf
[2016]
|
Series: | The pragmatic programmers
|
Subjects: | |
Links: | https://learning.oreilly.com/library/view/-/9781680502305/?ar |
Summary: | Debunk the myth that JavaScript is not easily testable. Whether you use Node.js, Express, MongoDB, jQuery, AngularJS, or directly manipulate the DOM, you can test-drive JavaScript. Learn the craft of writing meaningful, deterministic automated tests with Karma, Mocha, and Chai. Test asynchronous JavaScript, decouple and properly mock out dependencies, measure code coverage, and create lightweight modular designs of both server-side and client-side code. Your investment in writing tests will pay high dividends as you create code that's predictable and cost-effective to change. Design and code JavaScript applications with automated tests. Writing meaningful tests is a skill that takes learning, some unlearning, and a lot of practice, and with this book, you'll hone that skill. Fire up the editor and get hands-on through practical exercises for effective automated testing and designing maintainable, modular code. Start by learning when and why to do manual testing vs. automated verification. Focus tests on the important things, like the pre-conditions, the invariants, complex logic, and gnarly edge cases. Then begin to design asynchronous functions using automated tests. Carefully decouple and mock out intricate dependencies such as the DOM, geolocation API, file and database access, and Ajax calls to remote servers. Step by step, test code that uses Node.js, Express, MongoDB, jQuery, and AngularJS. Know when and how to use tools such as Chai, Istanbul, Karma, Mocha, Protractor, and Sinon. Create tests with minimum effort and run them fast without having to spin up web servers or manually edit HTML pages to run in browsers. Then explore end-to-end testing to ensure all parts are wired and working well together. Don't just imagine creating testable code, write it. What You Need: A computer with a text editor and your favorite browser. The book provides instructions to install the necessary automated testing-related tools. |
Item Description: | Place of publication from publisher's Web site. - "Version: P1.0 (October 2016).". - Includes bibliographical references. - Online resource; title from title page (viewed December 8, 2016) |
Physical Description: | 1 Online-Ressource (1 volume) Illustrationen. |
ISBN: | 9781680504910 1680504916 9781680502305 1680502301 1680501747 9781680501742 9781680504903 1680504908 |
Staff View
MARC
LEADER | 00000cam a22000002c 4500 | ||
---|---|---|---|
001 | ZDB-30-ORH-047668490 | ||
003 | DE-627-1 | ||
005 | 20240228120210.0 | ||
007 | cr uuu---uuuuu | ||
008 | 191023s2016 xx |||||o 00| ||eng c | ||
020 | |a 9781680504910 |c electronic bk. |9 978-1-68050-491-0 | ||
020 | |a 1680504916 |c electronic bk. |9 1-68050-491-6 | ||
020 | |a 9781680502305 |9 978-1-68050-230-5 | ||
020 | |a 1680502301 |9 1-68050-230-1 | ||
020 | |a 1680501747 |9 1-68050-174-7 | ||
020 | |a 9781680501742 |9 978-1-68050-174-2 | ||
020 | |a 9781680504903 |c electronic bk. |9 978-1-68050-490-3 | ||
020 | |a 1680504908 |c electronic bk. |9 1-68050-490-8 | ||
035 | |a (DE-627-1)047668490 | ||
035 | |a (DE-599)KEP047668490 | ||
035 | |a (ORHE)9781680502305 | ||
035 | |a (DE-627-1)047668490 | ||
040 | |a DE-627 |b ger |c DE-627 |e rda | ||
041 | |a eng | ||
072 | 7 | |a COM |2 bisacsh | |
082 | 0 | |a 005.14 |2 23 | |
100 | 1 | |a Subramaniam, Venkat |e VerfasserIn |4 aut | |
245 | 1 | 0 | |a Test-driving JavaScript applications |b rapid, confident, maintainable code |c by Venkat Subramaniam |
264 | 1 | |a [Raleigh, North Carolina] |b The Pragmatic Bookshelf |c [2016] | |
264 | 4 | |c ©2016 | |
300 | |a 1 Online-Ressource (1 volume) |b Illustrationen. | ||
336 | |a Text |b txt |2 rdacontent | ||
337 | |a Computermedien |b c |2 rdamedia | ||
338 | |a Online-Ressource |b cr |2 rdacarrier | ||
490 | 0 | |a The pragmatic programmers | |
500 | |a Place of publication from publisher's Web site. - "Version: P1.0 (October 2016).". - Includes bibliographical references. - Online resource; title from title page (viewed December 8, 2016) | ||
520 | |a Debunk the myth that JavaScript is not easily testable. Whether you use Node.js, Express, MongoDB, jQuery, AngularJS, or directly manipulate the DOM, you can test-drive JavaScript. Learn the craft of writing meaningful, deterministic automated tests with Karma, Mocha, and Chai. Test asynchronous JavaScript, decouple and properly mock out dependencies, measure code coverage, and create lightweight modular designs of both server-side and client-side code. Your investment in writing tests will pay high dividends as you create code that's predictable and cost-effective to change. Design and code JavaScript applications with automated tests. Writing meaningful tests is a skill that takes learning, some unlearning, and a lot of practice, and with this book, you'll hone that skill. Fire up the editor and get hands-on through practical exercises for effective automated testing and designing maintainable, modular code. Start by learning when and why to do manual testing vs. automated verification. Focus tests on the important things, like the pre-conditions, the invariants, complex logic, and gnarly edge cases. Then begin to design asynchronous functions using automated tests. Carefully decouple and mock out intricate dependencies such as the DOM, geolocation API, file and database access, and Ajax calls to remote servers. Step by step, test code that uses Node.js, Express, MongoDB, jQuery, and AngularJS. Know when and how to use tools such as Chai, Istanbul, Karma, Mocha, Protractor, and Sinon. Create tests with minimum effort and run them fast without having to spin up web servers or manually edit HTML pages to run in browsers. Then explore end-to-end testing to ensure all parts are wired and working well together. Don't just imagine creating testable code, write it. What You Need: A computer with a text editor and your favorite browser. The book provides instructions to install the necessary automated testing-related tools. | ||
650 | 0 | |a JavaScript (Computer program language) | |
650 | 0 | |a Application software |x Testing | |
650 | 0 | |a Web applications |x Development | |
650 | 4 | |a JavaScript (Langage de programmation) | |
650 | 4 | |a Applications Web ; Développement | |
650 | 4 | |a COMPUTERS ; Programming Languages ; JavaScript | |
650 | 4 | |a Application software ; Testing | |
650 | 4 | |a JavaScript (Computer program language) | |
776 | 1 | |z 9781680501742 | |
776 | 0 | 8 | |i Erscheint auch als |n Druck-Ausgabe |z 9781680501742 |
966 | 4 | 0 | |l DE-91 |p ZDB-30-ORH |q TUM_PDA_ORH |u https://learning.oreilly.com/library/view/-/9781680502305/?ar |m X:ORHE |x Aggregator |z lizenzpflichtig |3 Volltext |
912 | |a ZDB-30-ORH | ||
912 | |a ZDB-30-ORH | ||
951 | |a BO | ||
912 | |a ZDB-30-ORH | ||
049 | |a DE-91 |
Record in the Search Index
DE-BY-TUM_katkey | ZDB-30-ORH-047668490 |
---|---|
_version_ | 1831287080687239169 |
adam_text | |
any_adam_object | |
author | Subramaniam, Venkat |
author_facet | Subramaniam, Venkat |
author_role | aut |
author_sort | Subramaniam, Venkat |
author_variant | v s vs |
building | Verbundindex |
bvnumber | localTUM |
collection | ZDB-30-ORH |
ctrlnum | (DE-627-1)047668490 (DE-599)KEP047668490 (ORHE)9781680502305 |
dewey-full | 005.14 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 005 - Computer programming, programs, data, security |
dewey-raw | 005.14 |
dewey-search | 005.14 |
dewey-sort | 15.14 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
format | Electronic eBook |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>04242cam a22005772c 4500</leader><controlfield tag="001">ZDB-30-ORH-047668490</controlfield><controlfield tag="003">DE-627-1</controlfield><controlfield tag="005">20240228120210.0</controlfield><controlfield tag="007">cr uuu---uuuuu</controlfield><controlfield tag="008">191023s2016 xx |||||o 00| ||eng c</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781680504910</subfield><subfield code="c">electronic bk.</subfield><subfield code="9">978-1-68050-491-0</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1680504916</subfield><subfield code="c">electronic bk.</subfield><subfield code="9">1-68050-491-6</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781680502305</subfield><subfield code="9">978-1-68050-230-5</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1680502301</subfield><subfield code="9">1-68050-230-1</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1680501747</subfield><subfield code="9">1-68050-174-7</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781680501742</subfield><subfield code="9">978-1-68050-174-2</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781680504903</subfield><subfield code="c">electronic bk.</subfield><subfield code="9">978-1-68050-490-3</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1680504908</subfield><subfield code="c">electronic bk.</subfield><subfield code="9">1-68050-490-8</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-627-1)047668490</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)KEP047668490</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(ORHE)9781680502305</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-627-1)047668490</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-627</subfield><subfield code="b">ger</subfield><subfield code="c">DE-627</subfield><subfield code="e">rda</subfield></datafield><datafield tag="041" ind1=" " ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="072" ind1=" " ind2="7"><subfield code="a">COM</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="082" ind1="0" ind2=" "><subfield code="a">005.14</subfield><subfield code="2">23</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Subramaniam, Venkat</subfield><subfield code="e">VerfasserIn</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Test-driving JavaScript applications</subfield><subfield code="b">rapid, confident, maintainable code</subfield><subfield code="c">by Venkat Subramaniam</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">[Raleigh, North Carolina]</subfield><subfield code="b">The Pragmatic Bookshelf</subfield><subfield code="c">[2016]</subfield></datafield><datafield tag="264" ind1=" " ind2="4"><subfield code="c">©2016</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">1 Online-Ressource (1 volume)</subfield><subfield code="b">Illustrationen.</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="a">Text</subfield><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="a">Computermedien</subfield><subfield code="b">c</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="a">Online-Ressource</subfield><subfield code="b">cr</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="490" ind1="0" ind2=" "><subfield code="a">The pragmatic programmers</subfield></datafield><datafield tag="500" ind1=" " ind2=" "><subfield code="a">Place of publication from publisher's Web site. - "Version: P1.0 (October 2016).". - Includes bibliographical references. - Online resource; title from title page (viewed December 8, 2016)</subfield></datafield><datafield tag="520" ind1=" " ind2=" "><subfield code="a">Debunk the myth that JavaScript is not easily testable. Whether you use Node.js, Express, MongoDB, jQuery, AngularJS, or directly manipulate the DOM, you can test-drive JavaScript. Learn the craft of writing meaningful, deterministic automated tests with Karma, Mocha, and Chai. Test asynchronous JavaScript, decouple and properly mock out dependencies, measure code coverage, and create lightweight modular designs of both server-side and client-side code. Your investment in writing tests will pay high dividends as you create code that's predictable and cost-effective to change. Design and code JavaScript applications with automated tests. Writing meaningful tests is a skill that takes learning, some unlearning, and a lot of practice, and with this book, you'll hone that skill. Fire up the editor and get hands-on through practical exercises for effective automated testing and designing maintainable, modular code. Start by learning when and why to do manual testing vs. automated verification. Focus tests on the important things, like the pre-conditions, the invariants, complex logic, and gnarly edge cases. Then begin to design asynchronous functions using automated tests. Carefully decouple and mock out intricate dependencies such as the DOM, geolocation API, file and database access, and Ajax calls to remote servers. Step by step, test code that uses Node.js, Express, MongoDB, jQuery, and AngularJS. Know when and how to use tools such as Chai, Istanbul, Karma, Mocha, Protractor, and Sinon. Create tests with minimum effort and run them fast without having to spin up web servers or manually edit HTML pages to run in browsers. Then explore end-to-end testing to ensure all parts are wired and working well together. Don't just imagine creating testable code, write it. What You Need: A computer with a text editor and your favorite browser. The book provides instructions to install the necessary automated testing-related tools.</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">JavaScript (Computer program language)</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Application software</subfield><subfield code="x">Testing</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Web applications</subfield><subfield code="x">Development</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">JavaScript (Langage de programmation)</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Applications Web ; Développement</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">COMPUTERS ; Programming Languages ; JavaScript</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Application software ; Testing</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">JavaScript (Computer program language)</subfield></datafield><datafield tag="776" ind1="1" ind2=" "><subfield code="z">9781680501742</subfield></datafield><datafield tag="776" ind1="0" ind2="8"><subfield code="i">Erscheint auch als</subfield><subfield code="n">Druck-Ausgabe</subfield><subfield code="z">9781680501742</subfield></datafield><datafield tag="966" ind1="4" ind2="0"><subfield code="l">DE-91</subfield><subfield code="p">ZDB-30-ORH</subfield><subfield code="q">TUM_PDA_ORH</subfield><subfield code="u">https://learning.oreilly.com/library/view/-/9781680502305/?ar</subfield><subfield code="m">X:ORHE</subfield><subfield code="x">Aggregator</subfield><subfield code="z">lizenzpflichtig</subfield><subfield code="3">Volltext</subfield></datafield><datafield tag="912" ind1=" " ind2=" "><subfield code="a">ZDB-30-ORH</subfield></datafield><datafield tag="912" ind1=" " ind2=" "><subfield code="a">ZDB-30-ORH</subfield></datafield><datafield tag="951" ind1=" " ind2=" "><subfield code="a">BO</subfield></datafield><datafield tag="912" ind1=" " ind2=" "><subfield code="a">ZDB-30-ORH</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-91</subfield></datafield></record></collection> |
id | ZDB-30-ORH-047668490 |
illustrated | Not Illustrated |
indexdate | 2025-05-05T13:24:14Z |
institution | BVB |
isbn | 9781680504910 1680504916 9781680502305 1680502301 1680501747 9781680501742 9781680504903 1680504908 |
language | English |
open_access_boolean | |
owner | DE-91 DE-BY-TUM |
owner_facet | DE-91 DE-BY-TUM |
physical | 1 Online-Ressource (1 volume) Illustrationen. |
psigel | ZDB-30-ORH TUM_PDA_ORH ZDB-30-ORH |
publishDate | 2016 |
publishDateSearch | 2016 |
publishDateSort | 2016 |
publisher | The Pragmatic Bookshelf |
record_format | marc |
series2 | The pragmatic programmers |
spelling | Subramaniam, Venkat VerfasserIn aut Test-driving JavaScript applications rapid, confident, maintainable code by Venkat Subramaniam [Raleigh, North Carolina] The Pragmatic Bookshelf [2016] ©2016 1 Online-Ressource (1 volume) Illustrationen. Text txt rdacontent Computermedien c rdamedia Online-Ressource cr rdacarrier The pragmatic programmers Place of publication from publisher's Web site. - "Version: P1.0 (October 2016).". - Includes bibliographical references. - Online resource; title from title page (viewed December 8, 2016) Debunk the myth that JavaScript is not easily testable. Whether you use Node.js, Express, MongoDB, jQuery, AngularJS, or directly manipulate the DOM, you can test-drive JavaScript. Learn the craft of writing meaningful, deterministic automated tests with Karma, Mocha, and Chai. Test asynchronous JavaScript, decouple and properly mock out dependencies, measure code coverage, and create lightweight modular designs of both server-side and client-side code. Your investment in writing tests will pay high dividends as you create code that's predictable and cost-effective to change. Design and code JavaScript applications with automated tests. Writing meaningful tests is a skill that takes learning, some unlearning, and a lot of practice, and with this book, you'll hone that skill. Fire up the editor and get hands-on through practical exercises for effective automated testing and designing maintainable, modular code. Start by learning when and why to do manual testing vs. automated verification. Focus tests on the important things, like the pre-conditions, the invariants, complex logic, and gnarly edge cases. Then begin to design asynchronous functions using automated tests. Carefully decouple and mock out intricate dependencies such as the DOM, geolocation API, file and database access, and Ajax calls to remote servers. Step by step, test code that uses Node.js, Express, MongoDB, jQuery, and AngularJS. Know when and how to use tools such as Chai, Istanbul, Karma, Mocha, Protractor, and Sinon. Create tests with minimum effort and run them fast without having to spin up web servers or manually edit HTML pages to run in browsers. Then explore end-to-end testing to ensure all parts are wired and working well together. Don't just imagine creating testable code, write it. What You Need: A computer with a text editor and your favorite browser. The book provides instructions to install the necessary automated testing-related tools. JavaScript (Computer program language) Application software Testing Web applications Development JavaScript (Langage de programmation) Applications Web ; Développement COMPUTERS ; Programming Languages ; JavaScript Application software ; Testing 9781680501742 Erscheint auch als Druck-Ausgabe 9781680501742 |
spellingShingle | Subramaniam, Venkat Test-driving JavaScript applications rapid, confident, maintainable code JavaScript (Computer program language) Application software Testing Web applications Development JavaScript (Langage de programmation) Applications Web ; Développement COMPUTERS ; Programming Languages ; JavaScript Application software ; Testing |
title | Test-driving JavaScript applications rapid, confident, maintainable code |
title_auth | Test-driving JavaScript applications rapid, confident, maintainable code |
title_exact_search | Test-driving JavaScript applications rapid, confident, maintainable code |
title_full | Test-driving JavaScript applications rapid, confident, maintainable code by Venkat Subramaniam |
title_fullStr | Test-driving JavaScript applications rapid, confident, maintainable code by Venkat Subramaniam |
title_full_unstemmed | Test-driving JavaScript applications rapid, confident, maintainable code by Venkat Subramaniam |
title_short | Test-driving JavaScript applications |
title_sort | test driving javascript applications rapid confident maintainable code |
title_sub | rapid, confident, maintainable code |
topic | JavaScript (Computer program language) Application software Testing Web applications Development JavaScript (Langage de programmation) Applications Web ; Développement COMPUTERS ; Programming Languages ; JavaScript Application software ; Testing |
topic_facet | JavaScript (Computer program language) Application software Testing Web applications Development JavaScript (Langage de programmation) Applications Web ; Développement COMPUTERS ; Programming Languages ; JavaScript Application software ; Testing |
work_keys_str_mv | AT subramaniamvenkat testdrivingjavascriptapplicationsrapidconfidentmaintainablecode |