|Listed in category:
FREE SHIPPING ON ORDERS OVER $49See all eligible items and terms
Have one to sell?

Build Your Own Test Framework: A Practical Guide to Writing Better Automated Tes

US $44.99
Condition:
Brand New
Breathe easy. Returns accepted.
Shipping:
US $9.95 Economy Shipping. See detailsfor shipping
Located in: Milwaukee, WI, United States
Delivery:
Estimated between Sat, Jun 15 and Fri, Jun 21 to 43230
Delivery time is estimated using our proprietary method which is based on the buyer's proximity to the item location, the shipping service selected, the seller's shipping history, and other factors. Delivery times may vary, especially during peak periods.
Returns:
30 days returns. Seller pays for return shipping. See details- for more information about returns
Payments:
      
Earn up to 5x points when you use your eBay Mastercard®. Learn moreabout earning points with eBay Mastercard

Shop with confidence

eBay Money Back Guarantee
Get the item you ordered or your money back. Learn moreeBay Money Back Guarantee - opens new window or tab
Seller assumes all responsibility for this listing.
eBay item number:126475872003

Item specifics

Condition
Brand New: A new, unread, unused book in perfect condition with no missing or damaged pages. See the ...
Book Title
Apress
ISBN
9781484292464
Subject Area
Computers, Mathematics
Publication Name
Build Your Own Test Framework : Write Better Automated Tests, Implement Test Doubles and Mocks, and Increase Productivity
Item Length
9.3 in
Publisher
Apress L. P.
Subject
Software Development & Engineering / General, General
Publication Year
2023
Type
Textbook
Format
Trade Paperback
Language
English
Author
Daniel Irvine
Item Width
6.1 in
Item Weight
16.1 Oz
Number of Pages
Xxiv, 269 Pages

About this product

Product Information

Learn to write better automated tests that will dramatically increase your productivity and have fun while doing so. This book is a build-your-own adventure designed for individual reading and for collaborative workshops. You will build an xUnit automated test framework using JavaScript: initially a clone of Jest, but adding a couple of neat features borrowed from RSpec, the genre-defining tool for behavior-driven development (BDD). Along the way, you will explore the philosophy behind automated testing best practices. The automated test runner is one of the most important innovations within software engineering. But for many programmers, automated testing remains a mystery, and knowing how to write good tests is akin to sorcery. As the chapters of this book unfold, you will see how the humble test runner is an elegant and simple piece of software. Each chapter picks a single feature to build, like the "it" function or the "beforeEach" block. It picks apart the theory of why the feature needs to exist, and how to use it effectively in your own test suites. Every chapter ends with a set of ideas for extension points should you wish to explore further, alone or in groups. The book culminates in an implementation of test doubles and mocks--one of the most difficult and misunderstood concepts within automated testing. By the end of the book, you will have gained a solid understanding of automated testing principles that you can immediately apply to your work projects. What You'll Learn Build an xUnit automated test framework See how an automated test runner works Understand the best practices for automated unit testing Effectively use test doubles and mocks Who This Book Is For Software developers with JavaScript experience who are seeking to master the art of automated testing.

Product Identifiers

Publisher
Apress L. P.
ISBN-10
1484292464
ISBN-13
9781484292464
eBay Product ID (ePID)
2329673443

Product Key Features

Author
Daniel Irvine
Publication Name
Build Your Own Test Framework : Write Better Automated Tests, Implement Test Doubles and Mocks, and Increase Productivity
Format
Trade Paperback
Language
English
Subject
Software Development & Engineering / General, General
Publication Year
2023
Type
Textbook
Subject Area
Computers, Mathematics
Number of Pages
Xxiv, 269 Pages

Dimensions

Item Length
9.3 in
Item Width
6.1 in
Item Weight
16.1 Oz

Additional Product Features

Number of Volumes
1 Vol.
Lc Classification Number
Qa76.76.T48
Table of Content
Part 1: Building the Core of a Test Framework In this part we build a barebones implementation of a test runner. Chapter 1: Creating an NPM Package of My Very Own, You will create a new NPM package for concise-test, including an entry-point for the test runner. Chapter 2: Building it to Define a Test we'll implement the it function for defining tests, and start printing out some useful test run information on screen. Chapter 3: Grouping Tests with Describe, we'll add support for grouping tests with the describe function, and we'll continue to build out test reporting on screen. Chapter 4: Promoting Conciseness with BeforeEach and AfterEach We continue our quest for concise testing facilities with the addition of beforeEach and afterEach functions. Chapter 5: Improving Legibility with Expect, We finish off the core of our API by building an abstraction over throw new Error. Part 2: Constructing a Usable Framework In this part we add features that you'll use on a daily basis. Chapter 6: Formatting Expectation Errors We write a formatter for stack traces to help pinpoint failures quickly. Chapter 7. Automatically Discovering Test Files We'll add test file discovery to our test runner, and add support for running a single file through a command line argument. Chapter 8: Focusing on Tests with It.Only and Describe.Only, We split out runner into two phases: a discovery phase and an execution phase. In between them, we insert a filter phase to support running only a subset of phases. Chapter 9: Supporting Asynchronous Tests, We add the ability to wait on tests that return Promise objects, and timing out tests with it.timesOutAfter. Chapter 10: Reporting we use a pub-sub model to build a plug-in system for reporters. Part 3: Extending for Power Users In this part we continue to add advanced features. Chapter 11: Sharing Behavior with it.BehavesLike, We borrow an important feature from Ruby: inheritance for describe blocks, which gives us a flexible mechanism for removing duplication between test groups. Chapter 12: Tagging Tests We create a mechanism for running a group of tests based on their tag. Chapter 13 : Skipping Tests we introduce a number of ways to skip tests, including tests without bodies, and it.skip plus describe.skip functions. Chapter 14 : Randomizing Tests We add a runtime flag for randomizing the order of tests, which is a useful technique for catching invisible dependencies between tests. Part 4: Test Doubles and Mocks Chapter 15. Understanding test doubles we create a function that can be used as a test spy and stub. Chapter 16. Module Mocks We create a system for mocking out entire modules, which is a useful technique when creating component doubles when testing React.
Copyright Date
2023
Dewey Decimal
005.14
Dewey Edition
23
Illustrated
Yes

Item description from the seller

retrostarbooks4

retrostarbooks4

100% positive feedback
60 items sold
Joined Apr 2024

Detailed seller ratings

Average for the last 12 months

Accurate description
5.0
Reasonable shipping cost
4.8
Shipping speed
5.0
Communication
5.0

Seller feedback (17)

4***r (63)- Feedback left by buyer.
Past month
Verified purchase
The item was perfect, it was well packaged, and it arrived on time. The seller maintained contact to let me know when to expect the item to ship I couldn’t be happier, and I would highly recommend this seller.
e***3 (475)- Feedback left by buyer.
Past month
Verified purchase
Shipped fast, and item just as shown. Great seller, thanks!
-***a (146)- Feedback left by buyer.
Past month
Verified purchase
Item arrived quickly, securely, and as described. Wonderful seller

Product ratings and reviews

No ratings or reviews yet
Be the first to write the review.