James Wampler 678f605197 Add unit tests for MicCheck.Api.Features
Covers validators, response mapping, TagService/TagsController,
FeaturesController (CRUD + tag assignment), FeatureSegmentService,
FeatureStateService (incl. webhook dispatch), and
FeatureUsageController. Fills gaps in FeatureService
(FindByIdAsync, not-found exceptions).

FeatureUsageFlushBackgroundService is marked [ExcludeFromCodeCoverage]:
timer-driven, issues raw SQL through a DI-scoped concrete DbContext,
can't be exercised cleanly without a live DB (CLAUDE.md disallows
WebApplicationFactory/InMemory).

Raises the namespace from 44% to 97%.
2026-07-05 13:26:11 -07:00
2026-07-02 12:42:46 -07:00
2026-07-01 13:30:07 -07:00
2026-07-01 13:30:07 -07:00
2026-07-01 13:30:07 -07:00
2026-07-01 13:30:07 -07:00
2026-07-01 13:30:07 -07:00
2026-07-01 13:30:07 -07:00
2026-07-02 12:42:46 -07:00
2026-07-02 12:42:46 -07:00

MicCheck

GitHub CI Gitea CI Coverage

Open source feature flag management platform. Manage projects, environments, feature flags, segments, and identities across your apps.

Built with .NET (API) and Vue.js + Vuetify (admin UI).

Structure

src/
  api/MicCheck.Api/        .NET API — REST endpoints, organized by feature (Features, Projects, Environments,
                            Segments, Identities, Organizations, Webhooks, Audit, Users)
  admin/                    Vue.js + Vuetify admin SPA
  MicCheck.AppHost/         .NET Aspire orchestration host for local dev
  MicCheck.ServiceDefaults/ Shared .NET Aspire service defaults (telemetry, health checks)
tests/
  api/MicCheck.Api.Tests.Unit/         Unit tests
  api/MicCheck.Api.Tests.Integration/  Integration tests
docs/
  admin/                    Admin implementation plans/output docs
  api/                      API implementation plans/output docs

Code in the API is organized by feature area (e.g. Features, Segments, Identities) rather than by technical layer.

Running locally

docker-compose.yml provides supporting services. MicCheck.AppHost (.NET Aspire) orchestrates the API and admin app for local development.

./dev-build.sh

Testing

dotnet test

License

MIT — see LICENSE.

Description
No description provided
Readme MIT 9.2 MiB
Languages
C# 36.2%
Vue 30.3%
TypeScript 15.6%
SCSS 15.2%
JavaScript 1.4%
Other 1.3%