Creating Unit Tests for Your C# Projects
A tutorial on creating and implementing unit tests for C# projects, covering basics, benefits, and setup with MSTest, xUnit, or nUnit.
A tutorial on creating and implementing unit tests for C# projects, covering basics, benefits, and setup with MSTest, xUnit, or nUnit.
A roundup of the top 10 most popular AWS DevOps blog posts from 2023, covering topics like Lambda testing, CodeWhisperer, and CLI tools.
A guide on using Zig's unit testing features to add tests to an existing C application, using the uStreamer video streaming utility as a real-world example.
Introduces bUnit Generators, a tool for automatically creating stubs for third-party components in Blazor unit tests.
A developer's experience using Sweep, an LLM-powered tool that generates pull requests to write unit tests and fix code in a GitHub workflow.
A guide to testing Angular 17's new deferrable views (@defer blocks) using both Angular's built-in testing utilities and Angular Testing Library.
A guide to creating a .NET extension method that formats collections into human-readable strings using the Oxford comma and C# pattern matching.
A guide to creating and testing custom JsonConverter classes in C# using System.Text.Json, including helpful extension methods for unit tests.
A developer reflects on how their opinions on software development practices like comments, testing, IDEs, and remote work have evolved over time.
A guide to Test-Driven Development (TDD) in Swift, explaining the methodology and demonstrating its use through a practical case study.
A quick reference guide for developers transitioning from the Moq mocking library to NSubstitute, covering syntax comparisons.
Explains the advantages of creating custom fakes for unit testing in C#/.NET instead of relying on third-party mocking libraries like Moq.
A guide to globally registering Angular Injection Tokens in the TestBed to simplify test setups and avoid NullInjectorError.
Explores .NET 8's new TimeProvider and FakeTimeProvider for testing time-dependent code, enabling controlled manipulation of time in unit tests.
Announcing luatest, a new, fast Lua test runner inspired by pytest, offering significant speed improvements over existing options.
Explores using prompt-hoisting to improve GPT-based code generation, turning tests into prompts to reduce AI's indeterminacy and ensure code correctness.
A developer explains why they prefer xUnit over other .NET testing frameworks, focusing on its test isolation design.
Building a SaaS product: adding an Account model and creating a background job to send journal prompt emails with full unit testing.
A chalk talk on using Amazon CodeCatalyst to improve code quality through test plans, coverage, and dependency checks.
A guide to creating an XUnit fixture in JetBrains Rider that counts test runs until failure, helping diagnose intermittent unit test issues.