WPF inventory app with a Python UI automation suite

C# · .NET 8 · WPF · MVVM · EF Core (SQLite) · xUnit · Python · pytest · PyWinAuto · psutil

An open-source project that covers both sides of desktop software: building the application and building the framework that tests it.

The application

  • A Windows inventory management app in C# / .NET 8 (WPF) using the MVVM pattern, dependency injection and structured logging.
  • Data access through a repository layer on Entity Framework Core with SQLite.
  • Unit tests in xUnit with FluentAssertions and an in-memory EF Core provider.

The automation suite

  • A pytest and PyWinAuto framework that drives the app through its UI, with fixtures managing the application lifecycle.
  • Generated test data and test oracles for create, read, update and delete workflows.
  • Performance tests that monitor CPU, memory and throughput during bulk operations with psutil.
  • HTML reports with pytest-html and parallel runs with pytest-xdist.

Source on GitHub · Automation suite