BugTrack

A bug & test case management system — enforced status lifecycle, test-run execution history & fail-to-bug linking, built with ASP.NET Core 8 MVC & EF Core.

ASP.NET Core 8 MVCC#EF Core 8 + SQL ServerRazor ViewsBootstrap 5jQuery

No public demo — runs locally with .NET 8 SDK & SQL Server LocalDB.

BugTrack dashboard showing bug statistics and test run history

The problem

QA teams running defects through WhatsApp and spreadsheets lose track of status, overwrite each other's changes, and have no answer to "which test run found this bug?" BugTrack models the core QA workflow end-to-end.

Who uses it

  • Tester logs defects, designs test cases & records execution results.
  • Developer picks up assigned bugs, works them through the lifecycle & closes them.
  • QA Lead watches the dashboard — open bugs, test-case count, pass rate, recent runs & failures.
Defect Lifecycle & QA Topology
Three-Way Workflow
Tester Role Defect Logging & Specs

Authors test cases, captures step-by-step reproduction scenarios, and triggers test run records.

Developer Role Resolution Engine

Triages assigned defects through explicit state steps (Open -> In Progress -> Resolved -> Closed).

QA Lead Role Executive Insights

Monitors pass rates, defect densities, run histories, and release readiness metrics.

Key decisions

Enforced bug status lifecycle

Bugs move through `New → In Progress → Fixed → Retest → Closed / Reopened` via `BugStatusService`. Illegal transitions (e.g. jumping straight from New to Closed) are blocked server-side, not just in the UI.

Test-run history, not overwritten status

Every test-case execution is logged as its own `TestRun` record (date, tester, actual result, Pass/Fail/Blocked, notes) instead of a single status field that gets overwritten.

Bidirectional bug–test-run linking

Logging a Fail result offers to generate a linked bug directly; the relationship is tracked both ways so a bug knows its originating run and a run knows its linked bug.

Filtering & search

Bugs filterable by status, priority & severity; test cases filterable by module & priority — both with keyword search.

Midnight Indigo Liquid Glass UI

Custom Bootstrap 5 theme with CSS variables, glass panels & custom fonts — a deliberate visual departure from stock Bootstrap.

How I built & shipped it

  • Architecture: ASP.NET Core 8 MVC, EF Core 8 code-first migrations, SQL Server LocalDB.
  • Data model: `Bug`, `TestCase` & `TestRun` — a `TestCase` has many `TestRun`s; a `TestRun` may link to one `Bug`; a `Bug` may reference its originating run.
  • Client-side validation: jQuery / jQuery Validation on forms.
  • Seeding: Sample test cases, bugs & test runs seed on first run so the dashboard is populated immediately.
Data Entity Relational Flow
EF Core Model
Test Case Specification Unit

Parent definition holding expected behaviors, execution priorities, and versioned revisions.

Test Run Execution Instance

Captures point-in-time pass/fail states, actual outputs, tester notes, and timestamps.

Defect Ticket Bug Entity

Optionally binds back to the originating test run for end-to-end root-cause traceability.

What went wrong

No automated unit tests are included in this version. The backend logic (status transitions, test-run linking, filtering) isn't covered by tests, which is a gap I'd close before treating it as production-ready.

The lesson: a feature that works manually isn't proven. If the state machine is the core value, it needs test coverage.

What I'd do next

  • Unit tests. xUnit coverage for `BugStatusService`, test-run linking & filtering logic.
  • Kanban board UI. Visual board view of bugs by status instead of list-only.
  • Role-based permissions & notifications. Documented as potential v2 additions in the project brief.
  • Automated test execution. Move beyond manual result entry.

I'm open to Full-Stack/.NET Developer roles & freelance software projects. If this project is the kind of thing your team or business needs, let's talk.