testing

Organize EF Core test fixtures, SQL baselines, and test helpers.

14.8k|3.4k|Updated Jan 23, 2014
One-click install
npx skills add https://github.com/dotnet/efcore --skill testing-dotnet-2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing
Source: https://github.com/dotnet/efcore/tree/main/.agents/skills/testing
Command: npx skills add https://github.com/dotnet/efcore --skill testing-dotnet-2

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

EF Core test infrastructure guidance to streamline changes to test fixtures, SQL baseline assertions, test helpers, and test class hierarchies.

Core Features & Use Cases

  • Patterns and workflows for unit, specification, and functional tests in EF Core, including test fixture setup, baseline management, and provider-specific test overrides.
  • Guidance on organizing test helpers, fixtures, and test data across the EF Core repositories.
  • Example: When extending tests to cover a new provider, use the standardized test class structure to ensure compatibility.

Quick Start

Follow this guide when you need to modify EF Core test fixtures, baselines, or test helpers for new or updated tests.

Frequently Asked Questions about testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure EF Core test fixtures and test class hierarchies?

Structure EF Core test fixtures by standardizing test class hierarchies and helper organization to ensure compatibility across unit, specification, and functional tests within EF Core repositories. This approach streamlines fixture setup and test data seeding.

What is the workflow for adding EF Core tests across different providers?

The workflow for adding EF Core tests across providers involves using standardized test class structures and applying provider-specific test overrides. This ensures baseline generation and test data seeding remain compatible when extending test coverage to new providers.

How do I manage SQL baseline assertions for EF Core functional tests?

Manage SQL baseline assertions by following standardized EF Core test infrastructure guidance for baseline generation and management. This standardizes how test data seeding and baseline assertions are structured across functional and specification tests.

Can I use standardized test helpers for unit and specification tests in EF Core?

Yes, you can use standardized test helpers for unit and specification tests in EF Core. The guidance specifies how to organize test helpers, fixtures, and baselines to maintain consistency across different test types and repositories.

When do I need to update EF Core test infrastructure and baselines?

Update EF Core test infrastructure and baselines when modifying test fixtures, adding new tests, or extending coverage to a new provider. This ensures test data seeding, baseline generation, and provider-specific overrides remain compatible and standardized.