Skip to content

Zediwan/TestGenerator

Repository files navigation

TestGenerator

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.


🚀 Features

🧠 Element Detection

The generator parses and extracts information from:

  • Files
  • Classes
  • Constructors
  • Properties
  • Methods

✅ Current Features

  • Path Selector Interface
  • Source Directory Scanner
  • File Creation using User defined Naming

🧭 Roadmap (Planned)

  • 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


🤝 Contributing

We love contributors! Here's how to get started:


📄 License

MIT


Created by Jeremy Moser
Built for productivity-minded developers who want to scale their unit testing with structure and speed.

About

A Test Generator to dynamically generate Test (templates) from an existing project

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors 2

  •  
  •  

Languages