-
-
Notifications
You must be signed in to change notification settings - Fork 129
Expand file tree
/
Copy pathTUnit.PerformanceBenchmarks.csproj
More file actions
30 lines (23 loc) · 1.18 KB
/
Copy pathTUnit.PerformanceBenchmarks.csproj
File metadata and controls
30 lines (23 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\TestProject.props" />
<PropertyGroup>
<!-- Override target frameworks - only net9.0 for benchmarking -->
<TargetFrameworks></TargetFrameworks>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<!-- Benchmark configuration -->
<BenchmarkScale Condition="'$(BenchmarkScale)' == ''">1000</BenchmarkScale>
</PropertyGroup>
<ItemGroup>
<!-- Use direct references to avoid telemetry/code coverage overhead in benchmarks -->
<ProjectReference Include="..\TUnit.Engine\TUnit.Engine.csproj" />
<ProjectReference Include="..\TUnit.Assertions\TUnit.Assertions.csproj" />
<ProjectReference Include="..\TUnit.Core.SourceGenerator\TUnit.Core.SourceGenerator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
</ItemGroup>
<!-- Define compile-time constants for test generation -->
<PropertyGroup>
<DefineConstants>$(DefineConstants);SCALE_$(BenchmarkScale)</DefineConstants>
</PropertyGroup>
<Import Project="..\TestProject.targets" />
</Project>