Unit
Everything on SkillVeris tagged Unit — collected across the glossary, study notes, blog, and cheat sheets.
24 resources across 2 libraries
Study Notes(22)
Testing ViewModels
How to unit test MVVM ViewModels in isolation, covering state assertions, command execution, async flows, and dependency mocking.
Unit Testing in .NET
How to write fast, isolated unit tests for .NET applications using xUnit and Moq, and the practices that keep a test suite trustworthy.
Unit Testing MVC Controllers
Learn practical techniques for isolating and testing ASP.NET MVC controller actions using xUnit or NUnit with Moq, including ActionResult assertions and model…
Unit Testing with the In-Memory Provider
How to use EF Core's InMemory provider and SQLite in-memory mode to test data access code, and where each approach falls short.
Unit Testing Controllers and Services
Learn how to isolate ASP.NET Core controllers and services with xUnit and Moq to verify business logic without running the full HTTP pipeline.
Units and Modular Programming
Learn how Pascal's unit system lets you split large programs into reusable, separately-compiled modules with clean interfaces.
Unit Testing VB.NET Code
How to write and run automated unit tests for VB.NET code using MSTest, NUnit, or xUnit, including mocking and test structure best practices.
Unit Testing Objective-C Code
How XCTest structures test cases and assertions, how to isolate dependencies with mocks, and how to test asynchronous Objective-C code reliably.
Functions and Modules in Elixir
Learn how Elixir organizes code into modules and functions, covering named functions, arity, default arguments, private functions, module attributes, and anony…
Testing Haskell Code
Learn how to write unit tests, property-based tests, and doctest examples for Haskell code using HUnit, Hspec, and QuickCheck.
Types of Tests: Unit, Integration, and End-to-End
A practical breakdown of unit, integration, and end-to-end tests -- what each one verifies, when to use it, and how to tell them apart.
Writing Good Unit Tests
Learn what separates a fast, trustworthy unit test from a brittle one, and the core principles (FIRST, AAA) that guide good test design.
Testing gRPC Services
Strategies and tools for unit testing, integration testing, and manually exercising gRPC services, including grpcurl, in-process servers, and mocking generated…
Documents and Collections
How MongoDB structures data into documents and collections, including field types, embedding versus referencing, and the _id field.
Testing GraphQL APIs
Learn strategies for unit testing resolvers, integration testing schemas, and mocking GraphQL clients in tests.
Unit Testing
Learn how to write isolated, fast unit tests for pure functions using the Arrange-Act-Assert pattern.
Unit Testing ViewModels
Testing ViewModels in isolation relies on fake repositories, a controlled coroutine dispatcher, and asserting on emitted StateFlow values without touching Andr…
Unit Testing ViewModels in Swift
Learn how to write focused, reliable unit tests for SwiftUI ViewModels using XCTest or Swift Testing, including async code and dependency injection.
Unit Testing with PHPUnit
Get started with PHPUnit, PHP's most widely used testing framework, covering test case structure, assertions, data providers, and mocking dependencies.
Unit Testing with xUnit
Learn how to write, organize, and run automated tests for C# code using xUnit, the most widely used testing framework in the modern .NET ecosystem.
Unit Testing with Jasmine and Karma
Learn how Angular's default testing stack—Jasmine for specs and Karma for running them in a real browser—verifies component logic, services, and pipes in isola…
systemd and Managing Services
Learn how systemd manages services, sockets, and timers as units, and how to start, stop, enable, and inspect them with systemctl and journalctl.
Cheat Sheets(2)
Systemd Cheat Sheet
Commands and unit-file syntax for managing services, timers, and system state with systemd on modern Linux distributions.
Accessibility Testing Tools Cheat Sheet
CLI and code snippets for axe-core, Lighthouse, Pa11y, and jest-axe to automate WCAG accessibility checks in development and CI.