Unit Testing with Typescript

Requirements-Based Testing you own this product

This project is part of the liveProject series Unit Testing with Typescript, Jest, and WebStorm
basic TypeScript • basic Jest
skills learned
change the design of existing code with the support of tests • change test suites to take advantage of better designs
Daniel Coleman and Max Guernsey, III
1 week · 4-6 hours per week · INTERMEDIATE

placing your order...

Don't refresh or navigate away from the page.
liveProject This project is part of the liveProject series Unit Testing with Typescript, Jest, and WebStorm liveProjects give you the opportunity to learn new skills by completing real-world challenges in your local development environment. Solve practical problems, write working code, and analyze real data—with liveProject, you learn by doing. These self-paced projects also come with full liveBook access to select books for 90 days plus permanent access to other select Manning products. $19.99 $29.99 you save $10 (33%)
Requirements-Based Testing (liveProject) added to cart
continue shopping
adding to cart

choose your plan


only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free eBook every time you renew
  • choose twelve free eBooks per year
  • exclusive 50% discount on all purchases
  • Requirements-Based Testing eBook for free
Look inside

You're a TypeScript developer at an organization that sells stock photography products to the general public, as well as to news and other media markets. The company wants to add functionality to its system that maximizes the profitability of any given search. It’s up to you to improve the test suite by adding high-quality requirements-based tests. You’ll use mocks to isolate requirements, ensuring that each test focuses on a single behavior in your code. When you’re done, you’ll have a more resilient codebase.

This project is designed for learning purposes and is not a complete, production-ready application or solution.

book resources

When you start your liveProject, you get full access to the following books for 90 days.

project authors

Daniel Coleman

Daniel Coleman has been writing software since he was twelve years old, and has been getting paid for it for the last ten years. He quickly progressed from individual contributor to trailblazer for software design excellence, turning his teammates into fellow disciples of high quality. Dan has also worked as an embedded coach for teams, helping them perfect their craft through best practices for code design, test-driven development, behavior-driven development, and effective requirements management. He shares his thoughts on the industry and software design at agiledesign.io.

Max Guernsey, III

Max Guernsey has over twenty years of experience in software development and is currently a managing member at DevCraft LLC. He has worked on a wide range of products and technologies, including C++ class libraries, financial analysis applications, C# and Java backends, and even multi-platform video games. He is an experienced consultant and his "coaching from the keyboard" approach provides hands-on experience to learners in all aspects of modern software development.


This liveProject is for TypeScript developers who want to improve their testing skills. To begin these liveProjects you’ll need to be familiar with the following:

  • Basic TypeScript
  • Basic Jest
  • Object-oriented programming

you will learn

In this liveProject, you’ll learn to write robust, requirements-based tests that ensure your codebase can easily be updated and will withstand changing requirements.

  • Use IntelliJ WebStorm to write and execute tests
  • Derive tests from existing code
  • Add test coverage on an as-needed basis
  • Change the design of existing code with the support of tests
  • Change test suites to take advantage of better designs


You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from other participants and our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.