How are the test cases in the Markdig.Tests.Specs namespace "generated". #448

Closed
opened 2026-01-29 14:37:01 +00:00 by claunia · 2 comments
Owner

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.
image

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. ![image](https://user-images.githubusercontent.com/31991339/113344839-e9cae180-9331-11eb-88b3-d96924bc8c61.png)
Author
Owner

@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): 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.
Author
Owner

@olenitsj commented on GitHub (Apr 1, 2021):

The following 2 changes:

  1. 87bdb0429b

  2. 163dc05ba4

  3. Result in the following generated file when SpecFileGen.csproj is executed.
    6c8324faf2

@olenitsj commented on GitHub (Apr 1, 2021): The following 2 changes: 1. https://github.com/olenitsj/markdig/commit/87bdb0429b8d787b6c734aa64e200658472e6ba1 2. https://github.com/olenitsj/markdig/commit/163dc05ba4bca316fb03c3b98258a7a917b7d08b 3. Result in the following generated file when SpecFileGen.csproj is executed. https://github.com/olenitsj/markdig/commit/6c8324faf25a7a9510db444053bca72cdc7b9c9c
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#448