🚧 WORK IN PROGRESS 🚧
Enum-generator is a zero-dependency library containing a source generator that generates useful extension methods and utilities for enums in C#.
TODO
TODO
To debug the source generator, use the launchSettings.json file in the EnumGenerator project to run the generator against the EnumGenerator.Sample project.
You can also debug the generator tests using the EnumGenerator.Tests project.
To simply accept all snapshots immediately, run
./scripts/accept-all.sh src/EnumGenerator.Tests/snapshotsfrom the root of the repository.
To control which diff tool is used for snapshot testing, use the DiffEngine_ToolOrder environment variable.
In JetBrains Rider, this can be configured under Build, Execution, Deployment > Unit Testing > Test Runner > Environment variables.
You can also disable DiffEngine by setting the DiffEngine_Disable environment variable to true.