TestGenerator is a WPF-based utility built with .NET 8 and C# 12 that scans a given project directory for classes and generates structured test files based on customizable settings. Designed for maintainable and scalable testing, it supports both GUI and planned CLI workflows.
The generator parses and extracts information from:
- Files
- Classes
- Constructors
- Properties
- Methods
- Path Selector Interface
- Source Directory Scanner
- File Creation using User defined Naming
- Test File Creation
- Test File Code Generation
- Customizable Structure
- Log Terminal in UI
- Preview Test Output before generation
- Regenerate Tests while preserving custom code
- Templated Test Generation (e.g. using Scriban)
- Method Filtering (by attribute/type/access)
- Test Case Parameterization
- CLI Support
- Multi-framework Support (NUnit, xUnit, MSTest)
See the full roadmap here: 📌 GitHub Project Board
We love contributors! Here's how to get started:
MIT
Created by Jeremy Moser
Built for productivity-minded developers who want to scale their unit testing with structure and speed.