tasks-dotnet

tasks-dotnet

An xUnit test from tasks-dotnet, Create_Task_WithTitle, written in Given-When-Then style.

A representative xUnit test from the suite, written in Given-When-Then style.

tasks-dotnet is a to-do application I build as a hands-on exercise in clean coding and Extreme Programming: small, test-first steps through the Red-Green-Refactor cycle, kept honest by unit and end-to-end tests running in CI.

The goal

Keep a realistic application continuously shippable by growing it test-first, so design stays simple and every change is backed by a failing-then-passing test.

What I built

  • A C# domain (TaskService and friends) grown with xUnit tests in Given-When-Then / Arrange-Act-Assert style.
  • Playwright end-to-end tests, written in TypeScript, that exercise real user flows.
  • A GitHub Actions pipeline that runs the tests and publishes results on every push.

Practices on display

  • Red-Green-Refactor: write a failing test, make it pass, then improve the design.
  • Clean code and simple design over speculative abstraction.
  • Unit tests for logic, Playwright for real end-to-end behavior.

I am currently modernizing this project with Claude Code, applying the same responsible AI-assisted engineering I use elsewhere: agents accelerate the work while the tests keep it honest.

Stack · C# · .NET · TypeScript · xUnit · Playwright · GitHub Actions · CC0

View the code on GitHub


← Back to Work