Atomic Object Show Nav
Close Menu
< Blog Home
Atomic Object
  • AI Software Development
  • New Product Development
  • Product Enhancement
  • Product Modernization
  • Web App
  • Mobile App
  • IoT Software
  • Desktop App
  • Cloud
  • Healthcare
  • Financial Services
  • Education
  • Insurance
  • See more...
Portfolio
Team
Culture
Contact
We're Hiring
Atomic Object Atomic Object
Services
  • Offerings
  • AI Software Development
  • New Product Development
  • Product Enhancement
  • Product Modernization
  • Platforms
  • Web App
  • Mobile App
  • IoT Software
  • Desktop App
  • Cloud
  • Industries
  • Healthcare
  • Financial Services
  • Education
  • Insurance
  • See more...
Portfolio
Team
Culture
We're Hiring
Blog
Contact
Atomic Object
Services
Portfolio
Team
Culture
We're Hiring
Blog
Contact
← Back to Blog Home

mocks

Angular

How to Mock Child Components When Writing Angular Tests

Normally, I am fully in favor of NOT mocking a child component whenever possible, but some situations require it.
Developer Tools

Mocking Multiple Queries for Mock Provider

When testing Apollo and GraphQL, Mock Provider is a nice tool to use when components need to communicate with a GraphQL server.
Development

Mock, Stub, or Spy? What’s the Difference, and When Should I Use Each?

Mocks, stubs, or spies? It's important to understand how the particular testing framework you are using in your project operates.
Functional Programming

Implementing a Mock with Generic Methods in F#

A recent project implementing a new service in a client's developer-facing SDK prompted me to explore implementing a mock with generic methods in F#.
TypeScript

Mocking TypeScript Modules with Sinon

We use Sinon to mock Typescript modules by using mockModule to create a function that can mock the given module. This is done at the outer-most scope of our test suite so that this
Development Practices

Mocking React/Apollo Data Tables for UI Development

This method helped me quickly determine the minimum data required to drive the front-end. That has directly driven the back-end code, reducing refactoring time and preventing unnec
Web Apps

Mocking in JavaScript Unit Tests Using Sinon.JS

With mocks for dependencies inside functions, unit tests will be resilient to a changing codebase. And functions with mocks can be developed without a chain of dependencies.
Development Practices

Intro to Mocking with Moq

Mock objects allow you to mimic the behavior of classes and interfaces, letting the code in the test interact with them as if they were real.
Web Apps

Bye-Bye, Sinon – Hello, testdouble

A review of testdouble.js, a new alternative to Sinon as a test mocking library in JavaScript.
Development Practices

4 Tips for Improving Test Quality

These 4 test driven development tips will make your tests easier to write and easier to maintain.
C & C++

Working with Custom Return Values in GoogleMock

Tips for setting return values in GoogleMock expectations.
C & C++

Using CMock when C is Oversensitive

Employing CMock is usually straightforward. Here are a few common sticking points I've come across and how you can work around them.

Posts navigation

← Older posts

Want to see what Atomic can do?

Check out some of our work

Atomic's Portfolio

Atomic is a software design + development consultancy.

© 2025 Atomic Object LLC
Explore
  • Careers
  • Diversity
  • Resources
  • Atomic Blog
  • Developer Resources
  • Client Resources
Offices
  • Grand Rapids
  • Ann Arbor
  • Chicago
  • Raleigh-Durham
Details
  • Contact
  • Media
  • Privacy Policy
Certified B Corporation