Skip to content

Commit 43bfdf3

Browse files
committed
tunit
1 parent 99ae990 commit 43bfdf3

File tree

16 files changed

+1462
-13
lines changed

16 files changed

+1462
-13
lines changed

README.md

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# RSCG - 238 Examples of Roslyn Source Code Generators / 15 created by Microsoft /
1+
# RSCG - 239 Examples of Roslyn Source Code Generators / 15 created by Microsoft /
22

3-
The RSCG_Examples repository is a comprehensive documentation system that automatically processes and showcases 238 Roslyn Source Code Generator (RSCG) examples. The system transforms individual RSCG projects into structured documentation with code examples and cross-referenced content with a searchable website and code example exports.
3+
The RSCG_Examples repository is a comprehensive documentation system that automatically processes and showcases 239 Roslyn Source Code Generator (RSCG) examples. The system transforms individual RSCG projects into structured documentation with code examples and cross-referenced content with a searchable website and code example exports.
44

55
This system serves as both a learning resource for .NET developers interested in source generators and an automated pipeline for maintaining up-to-date documentation about the RSCG ecosystem
66

7-
## Latest Update : 2025-11-07 => 07 November 2025
7+
## Latest Update : 2025-11-08 => 08 November 2025
88

99
If you want to see examples with code, please click ***[List V2](https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG)***
1010

@@ -24,8 +24,30 @@ If you want to be notified each time I add a new RSCG example , please click htt
2424

2525
## Content
2626

27-
Those are the 238 Roslyn Source Code Generators that I have tested you can see and download source code example.
27+
Those are the 239 Roslyn Source Code Generators that I have tested you can see and download source code example.
2828
( including 15 from Microsoft )
29+
### 239. [TUnit](https://ignatandrei.github.io/RSCG_Examples/v2/docs/TUnit) , in the [Tests](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#tests) category
30+
31+
Generated on : 2025-11-08 => 08 November 2025
32+
33+
<details>
34+
<summary>Expand</summary>
35+
36+
37+
38+
Author: Tom Longhurst
39+
40+
41+
42+
Nuget: [https://www.nuget.org/packages/TUnit/](https://www.nuget.org/packages/TUnit/)
43+
44+
45+
Link: [https://ignatandrei.github.io/RSCG_Examples/v2/docs/TUnit](https://ignatandrei.github.io/RSCG_Examples/v2/docs/TUnit)
46+
47+
Source: [https://github.com/thomhurst/TUnit](https://github.com/thomhurst/TUnit)
48+
49+
</details>
50+
2951
### 238. [TeCLI](https://ignatandrei.github.io/RSCG_Examples/v2/docs/TeCLI) , in the [CommandLine](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#commandline) category
3052

3153
Generated on : 2025-11-07 => 07 November 2025

later.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Just later
22

3-
## Latest Update : 2025-11-07 => 07 November 2025
3+
## Latest Update : 2025-11-08 => 08 November 2025
44

55

66

v2/.tours/TUnit.tour

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
2+
{
3+
"$schema": "https://aka.ms/codetour-schema",
4+
"title": "TUnit",
5+
"steps":
6+
[
7+
{
8+
"file": "rscg_examples/TUnit/src/TestDemo/TestDemo.csproj",
9+
"description": "First, we add Nuget [TUnit](https://www.nuget.org/packages/TUnit/) in csproj ",
10+
"pattern": "TUnit"
11+
}
12+
13+
,{
14+
"file": "rscg_examples/TUnit/src/TestDemo/FirstTest.cs",
15+
"description": "File FirstTest.cs ",
16+
"pattern": "this is the code"
17+
}
18+
19+
20+
,{
21+
"file": "rscg_examples/TUnit/src/TestDemo/obj/GX/TUnit.Core.SourceGenerator/TUnit.Core.SourceGenerator.Generators.TestMetadataGenerator/TestDemo_FirstTest_Add_WithTwoNumbers_ReturnsSum.g.cs",
22+
"description": "Generated File 4 from 4 : TestDemo_FirstTest_Add_WithTwoNumbers_ReturnsSum.g.cs ",
23+
"line": 1
24+
}
25+
26+
,{
27+
"file": "rscg_examples/TUnit/src/TestDemo/obj/GX/TUnit.Core.SourceGenerator/TUnit.Core.SourceGenerator.Generators.AotConverterGenerator/AotConverters.g.cs",
28+
"description": "Generated File 3 from 4 : AotConverters.g.cs ",
29+
"line": 1
30+
}
31+
32+
,{
33+
"file": "rscg_examples/TUnit/src/TestDemo/obj/GX/TUnit.Core.SourceGenerator/TUnit.Core.SourceGenerator.CodeGenerators.DisableReflectionScannerGenerator/DisableReflectionScanner.g.cs",
34+
"description": "Generated File 2 from 4 : DisableReflectionScanner.g.cs ",
35+
"line": 1
36+
}
37+
38+
,{
39+
"file": "rscg_examples/TUnit/src/TestDemo/obj/GX/TUnit.Core.SourceGenerator/TUnit.Core.SourceGenerator.CodeGenerators.AssemblyLoaderGenerator/AssemblyLoader.g.cs",
40+
"description": "Generated File 1 from 4 : AssemblyLoader.g.cs ",
41+
"line": 1
42+
}
43+
44+
],
45+
46+
"ref": "main"
47+
48+
}

v2/Generator/all.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,3 +237,4 @@ Nr,Key,Source,Category
237237
236,Validly, https://github.com/Hookyns/validly,Validator
238238
237,Program, https://github.com/dotnet/aspnetcore/,EnhancementClass
239239
238,TeCLI, https://github.com/tyevco/TeCLI,CommandLine
240+
239,TUnit, https://github.com/thomhurst/TUnit,Tests

v2/RSCGExamplesData/GeneratorDataRec.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1441,5 +1441,11 @@
14411441
"Category":32,
14421442
"dtStart": "2025-11-07T00:00:00",
14431443
"show": true
1444+
},
1445+
{
1446+
"ID":"TUnit",
1447+
"Category":13,
1448+
"dtStart": "2025-11-08T00:00:00",
1449+
"show": true
14441450
}
14451451
]

0 commit comments

Comments
 (0)