mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
How are the test cases in the Markdig.Tests.Specs namespace "generated". #448
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @olenitsj on GitHub (Apr 1, 2021).
Are the test cases in Markdig.Tests.Specs generated and if yes, how does that work? And can I use the same method for generating my own test cases for an extension I am building.

@olenitsj commented on GitHub (Apr 1, 2021):
SpecFileGen.csproj can be used for generating .generated.cs files that can be found in the Markdig.Tests.Specs namespace.
See the corresponding markdown files for how to configure.
@olenitsj commented on GitHub (Apr 1, 2021):
The following 2 changes:
87bdb0429b163dc05ba4Result in the following generated file when SpecFileGen.csproj is executed.
6c8324faf2