Testura/Testura.Code

Testura.Code is a wrapper around the Roslyn API and used for generation, saving and compiling C# code. It provides methods and helpers to generate classes, methods, statements and expressions.

41
/ 100
Emerging

Built on Roslyn's syntax trees, it offers a fluent builder API for constructing complete classes and methods with full control over modifiers, attributes, and body statements. Beyond basic code generation, it includes in-memory compilation capabilities and file persistence, enabling runtime code synthesis and assembly generation workflows. Designed for .NET projects requiring programmatic C# code creation—particularly useful for code generators, test utilities, and metaprogramming scenarios.

296 stars. No commits in the last 6 months.

Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 15 / 25

How are scores calculated?

Stars

296

Forks

28

Language

C#

License

MIT

Last pushed

May 09, 2024

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/Testura/Testura.Code"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.