Atomic Object Show Nav
Close Menu
< Blog Home
We're Hiring
Atomic Object
Services
Portfolio
Team
Culture
Contact
Atomic Object Atomic Object
Services
Portfolio
Team
Culture
We're Hiring
Blog
Contact
Atomic Object
Services
Portfolio
Team
Culture
We're Hiring
Blog
Contact
← Back to Blog Home

unit testing

C#

How I Use xUnit’s Theory to Test Switch Statement Expressions

Recently for a .NET Core project, I took advantage of xUnit’s Theory annotation so that I could avoid writing a Fact for every case in the switch statement.
Exploratory Testing

Set Team Standards for Unit Test Code Coverage in JetBrains Rider

While code coverage is not a perfect indicator of a healthy test suite, JetBrains Rider can help identify areas of potential risk in your solution.
Development Practices

Use TypeScript Assertion Functions for Legible Test Expectations

If you're working with Discriminated Unions, TypeScript's Assertion Functions can help keep your test expectations legible.
Developer Tools

Writing Better Test CLI Commands with Laravel and Artisan

Laravel doesn't come with a built-in way to run different types of tests. This post will help you create Artisan commands to easily run all your tests.
Developer Tools

Getting Started Unit Testing with Kotlin

When learning a new language, it's important to understand testing frameworks. With Kotlin, it's made easy by its similarity and interoperability with Java.
Development Practices

The Five Habits of Maintainable Unit Tests

Good unit tests are often the best documentation of a project's behavior. But poorly-written unit tests can cement code in place, making it more difficult to change.
Functional Programming

Unit Testing Phoenix Controllers with Mox

A short walkthrough of the Mox library for Elixir. See how implementing mocks based on behaviours can simplify your unit tests for Phoenix controllers.
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.
Developer Tools

Custom QUnit Assertions

QUnit makes it easy to write custom assertions that improve the legibility of your tests and their reports. Here's how to log an assertion.
Development Practices

How I Learned to Love TDD

The longer I practice TDD, the more I realize how foolish my instincts actually were.
Web Apps

Bye-Bye, Sinon – Hello, testdouble

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

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.

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