Digibento

Isolate Dependencies with Mocks

Hands-on project · Sold on Manning

Isolate Dependencies with Mocks by Manning Publications is a hands-on project sold by Manning. It costs $29.99. Refund policy: 7-day refund on liveProjects, before your first upload.

$29.99

Buy at Manning

Digibento may earn a commission at no extra cost to you.

Isolate Dependencies with Mocks

Our take

Isolate Dependencies with Mocks is a one-week Manning liveProject from Dror Helper on testing code that depends on external services and databases. Those dependencies are hard to run predictably and often break tests when your code is fine. You isolate them and replace them with mock objects that behave in manageable ways, then write isolated unit tests that are easy to write and run and execute fast. Expect 8 to 10 hours a week.

Level: Beginner

What you get

  • Mocks, stubs and fakes
  • Mocking frameworks for isolated, maintainable tests
  • Mocking best practices
  • Fast unit tests that do not break for external reasons

Ideal for

  • Developers whose tests fail because of external services
  • Beginners learning unit testing with mocks
  • Teams trying to speed up their test suites

Use it for

  • Replacing a database with a mock in tests
  • Speeding up slow unit tests
  • Making flaky tests reliable

About this

From Manning

External services, databases, and other dependencies are hard to run in a predictable way and can often cause test failures when there is no issue in your code. In this liveProject, you’ll isolate unnecessary dependencies and replace them with mock objects that have more manageable behavior. You’ll then be able to develop isolated unit tests, which do not break due to external reasons, are easy to write and run, and have fast execution times.

Highlights

  • Using mocks, stubs, and fakes
  • Mocking frameworks to create isolated and maintainable tests
  • Mocking best practices

What’s included

  • Self-paced
  • Project roadmap
  • Get Help
  • Compare with others
  • Books included as resources
  • Also included in a Manning Online subscription
Store
Manning
Type
Hands-on project
Category
Online courses
Creator
Manning Publications
Level
Beginner
Duration
1 week, 8-10 hours per week
Instructor
Dror Helper
Released
2021-07-06
Refund
7-day refund on liveProjects, before your first upload

Questions and answers

What's included in Isolate Dependencies with Mocks?
Self-paced. Project roadmap. Get Help. Compare with others. Books included as resources.
What does Isolate Dependencies with Mocks work on?
It works on the web.
Can I get a refund on Isolate Dependencies with Mocks?
Manning says: 7-day refund, before your first upload.

You may also like

More in Online courses

Similar for less

More from Manning

See all