Skip to content

Conversation

@NachoEchevarria
Copy link
Collaborator

@NachoEchevarria NachoEchevarria commented Jan 23, 2026

Summary of changes

We currently send telemetry metrcis related to flaky tests. These metrics, though, had some issues.

In some tests, the test name already contained the class name. The resulting test name would include repeated class names. For instance: "Datadog.Trace.Tests.Logging.DirectSubmission.Sink.PeriodicBatching.BatchingSinkTests.Datadog.Trace.Tests.Logging.DirectSubmission.Sink.PeriodicBatching.BatchingSinkTests.WhenRunning_AndAnEventIsQueued_ItIsWrittenToABatch"

We are sanitizing tag values by calling TryNormalizeTagName() which is useful for value normalization but adds some unneccessary restrictions. For instance, framewrok values were not being sent because they started with a number, which is fine for tag values but not for tag names. Therefore, TryNormalizeTagName will not be used for framework values.

Sometimes, the test name is not sent because we validate tags before sending them and we don't send tags with a length > 200. Test name has been trucated to 200 to avoid having empty test name tags.

Reason for change

Implementation details

Test coverage

Other details

@github-actions github-actions bot added the area:tests unit tests, integration tests label Jan 23, 2026
@NachoEchevarria NachoEchevarria changed the title Fix test full name in flaky metrics Fix flaky test metrics tag values Jan 23, 2026
@dd-trace-dotnet-ci-bot
Copy link

dd-trace-dotnet-ci-bot bot commented Jan 23, 2026

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8099) and master.

✅ No regressions detected - check the details below

Full Metrics Comparison

FakeDbCommand

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration68.24 ± (68.22 - 68.44) ms68.41 ± (68.39 - 68.60) ms+0.2%✅⬆️
.NET Framework 4.8 - Bailout
duration72.39 ± (72.30 - 72.51) ms72.32 ± (72.19 - 72.48) ms-0.1%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1017.46 ± (1018.62 - 1024.83) ms1020.92 ± (1025.97 - 1034.96) ms+0.3%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms21.80 ± (21.77 - 21.84) ms21.94 ± (21.91 - 21.97) ms+0.6%✅⬆️
process.time_to_main_ms78.61 ± (78.45 - 78.77) ms79.14 ± (78.98 - 79.30) ms+0.7%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.89 ± (10.89 - 10.90) MB10.91 ± (10.90 - 10.91) MB+0.1%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms21.85 ± (21.83 - 21.87) ms21.89 ± (21.86 - 21.92) ms+0.2%✅⬆️
process.time_to_main_ms79.91 ± (79.82 - 79.99) ms80.18 ± (80.07 - 80.29) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.93 ± (10.93 - 10.94) MB10.95 ± (10.95 - 10.95) MB+0.2%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms241.41 ± (237.86 - 244.96) ms244.50 ± (241.09 - 247.91) ms+1.3%✅⬆️
process.time_to_main_ms473.96 ± (473.36 - 474.57) ms474.45 ± (473.85 - 475.04) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.52 ± (48.50 - 48.54) MB48.54 ± (48.52 - 48.56) MB+0.0%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.1%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms20.58 ± (20.55 - 20.61) ms20.66 ± (20.64 - 20.68) ms+0.4%✅⬆️
process.time_to_main_ms68.19 ± (68.07 - 68.32) ms68.64 ± (68.53 - 68.76) ms+0.7%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.61 ± (10.60 - 10.61) MB10.64 ± (10.64 - 10.64) MB+0.3%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms20.56 ± (20.53 - 20.58) ms20.53 ± (20.50 - 20.56) ms-0.1%
process.time_to_main_ms69.13 ± (69.07 - 69.19) ms69.30 ± (69.23 - 69.37) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.65 ± (10.65 - 10.66) MB10.73 ± (10.73 - 10.74) MB+0.8%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms248.88 ± (247.53 - 250.23) ms247.16 ± (245.13 - 249.18) ms-0.7%
process.time_to_main_ms451.03 ± (450.61 - 451.44) ms452.57 ± (452.16 - 452.99) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.30 ± (49.27 - 49.33) MB49.33 ± (49.29 - 49.36) MB+0.1%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.1%
.NET 8 - Baseline
process.internal_duration_ms18.76 ± (18.74 - 18.79) ms18.84 ± (18.81 - 18.86) ms+0.4%✅⬆️
process.time_to_main_ms67.36 ± (67.26 - 67.47) ms67.61 ± (67.48 - 67.73) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.68 ± (7.67 - 7.69) MB7.69 ± (7.68 - 7.70) MB+0.1%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms18.71 ± (18.68 - 18.73) ms18.87 ± (18.85 - 18.89) ms+0.9%✅⬆️
process.time_to_main_ms68.47 ± (68.40 - 68.54) ms68.67 ± (68.61 - 68.73) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.72 ± (7.71 - 7.73) MB7.75 ± (7.74 - 7.75) MB+0.4%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms178.50 ± (177.61 - 179.39) ms179.67 ± (178.73 - 180.60) ms+0.7%✅⬆️
process.time_to_main_ms434.45 ± (433.81 - 435.10) ms435.21 ± (434.63 - 435.80) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed36.64 ± (36.61 - 36.67) MB36.68 ± (36.64 - 36.71) MB+0.1%✅⬆️
runtime.dotnet.threads.count27 ± (26 - 27)27 ± (27 - 27)+0.5%✅⬆️

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration194.59 ± (194.42 - 195.18) ms193.35 ± (193.47 - 194.29) ms-0.6%
.NET Framework 4.8 - Bailout
duration198.07 ± (198.11 - 198.75) ms196.58 ± (196.60 - 197.12) ms-0.8%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1144.63 ± (1143.59 - 1151.59) ms1134.79 ± (1139.31 - 1148.89) ms-0.9%
.NET Core 3.1 - Baseline
process.internal_duration_ms188.30 ± (187.94 - 188.67) ms187.90 ± (187.56 - 188.25) ms-0.2%
process.time_to_main_ms81.07 ± (80.87 - 81.26) ms81.63 ± (81.43 - 81.83) ms+0.7%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.08 ± (16.06 - 16.10) MB16.09 ± (16.06 - 16.11) MB+0.1%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (19 - 20)-0.2%
.NET Core 3.1 - Bailout
process.internal_duration_ms187.20 ± (186.84 - 187.56) ms188.04 ± (187.73 - 188.34) ms+0.4%✅⬆️
process.time_to_main_ms82.47 ± (82.30 - 82.64) ms82.59 ± (82.41 - 82.77) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.13 ± (16.10 - 16.15) MB16.12 ± (16.09 - 16.14) MB-0.1%
runtime.dotnet.threads.count21 ± (20 - 21)21 ± (21 - 21)+0.7%✅⬆️
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms431.62 ± (429.02 - 434.22) ms430.94 ± (427.87 - 434.01) ms-0.2%
process.time_to_main_ms479.81 ± (479.26 - 480.36) ms480.59 ± (480.02 - 481.16) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed59.00 ± (58.90 - 59.11) MB59.01 ± (58.89 - 59.14) MB+0.0%✅⬆️
runtime.dotnet.threads.count29 ± (29 - 29)29 ± (29 - 30)+0.1%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms191.63 ± (191.33 - 191.93) ms192.19 ± (191.82 - 192.56) ms+0.3%✅⬆️
process.time_to_main_ms70.51 ± (70.32 - 70.71) ms70.57 ± (70.37 - 70.77) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.39 ± (16.37 - 16.42) MB16.39 ± (16.36 - 16.42) MB-0.0%
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.1%
.NET 6 - Bailout
process.internal_duration_ms190.78 ± (190.51 - 191.06) ms190.92 ± (190.69 - 191.16) ms+0.1%✅⬆️
process.time_to_main_ms71.11 ± (70.99 - 71.24) ms71.46 ± (71.33 - 71.58) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.10 ± (15.95 - 16.25) MB16.21 ± (16.08 - 16.33) MB+0.7%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)20 ± (20 - 20)+4.1%✅⬆️
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms441.73 ± (438.29 - 445.16) ms445.46 ± (442.82 - 448.09) ms+0.8%✅⬆️
process.time_to_main_ms458.06 ± (457.46 - 458.65) ms456.10 ± (455.64 - 456.56) ms-0.4%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed58.89 ± (58.77 - 59.01) MB58.98 ± (58.86 - 59.10) MB+0.1%✅⬆️
runtime.dotnet.threads.count29 ± (29 - 29)29 ± (29 - 29)-0.1%
.NET 8 - Baseline
process.internal_duration_ms190.18 ± (189.84 - 190.51) ms190.34 ± (189.90 - 190.78) ms+0.1%✅⬆️
process.time_to_main_ms69.65 ± (69.49 - 69.81) ms70.17 ± (69.96 - 70.39) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.81 ± (11.79 - 11.84) MB11.77 ± (11.74 - 11.80) MB-0.3%
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)+0.0%✅⬆️
.NET 8 - Bailout
process.internal_duration_ms189.48 ± (189.21 - 189.74) ms189.27 ± (188.97 - 189.57) ms-0.1%
process.time_to_main_ms71.02 ± (70.90 - 71.15) ms71.06 ± (70.91 - 71.21) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.85 ± (11.82 - 11.88) MB11.86 ± (11.82 - 11.89) MB+0.0%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.4%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms366.11 ± (364.75 - 367.47) ms362.61 ± (361.35 - 363.87) ms-1.0%
process.time_to_main_ms441.01 ± (440.19 - 441.83) ms440.08 ± (439.36 - 440.80) ms-0.2%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed48.42 ± (48.39 - 48.45) MB48.40 ± (48.37 - 48.43) MB-0.0%
runtime.dotnet.threads.count29 ± (29 - 29)29 ± (29 - 29)+0.3%✅⬆️
Comparison explanation

Execution-time benchmarks measure the whole time it takes to execute a program, and are intended to measure the one-off costs. Cases where the execution time results for the PR are worse than latest master results are highlighted in **red**. The following thresholds were used for comparing the execution times:

  • Welch test with statistical test for significance of 5%
  • Only results indicating a difference greater than 5% and 5 ms are considered.

Note that these results are based on a single point-in-time result for each branch. For full results, see the dashboard.

Graphs show the p99 interval based on the mean and StdDev of the test run, as well as the mean value of the run (shown as a diamond below the graph).

Duration charts
FakeDbCommand (.NET Framework 4.8)
gantt
    title Execution time (ms) FakeDbCommand (.NET Framework 4.8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8099) - mean (68ms)  : 67, 70
    master - mean (68ms)  : 67, 70

    section Bailout
    This PR (8099) - mean (72ms)  : 71, 74
    master - mean (72ms)  : 71, 73

    section CallTarget+Inlining+NGEN
    This PR (8099) - mean (1,030ms)  : 966, 1095
    master - mean (1,022ms)  : 978, 1066

Loading
FakeDbCommand (.NET Core 3.1)
gantt
    title Execution time (ms) FakeDbCommand (.NET Core 3.1)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8099) - mean (106ms)  : 104, 109
    master - mean (106ms)  : 103, 109

    section Bailout
    This PR (8099) - mean (107ms)  : 106, 109
    master - mean (107ms)  : 106, 108

    section CallTarget+Inlining+NGEN
    This PR (8099) - mean (745ms)  : 692, 799
    master - mean (742ms)  : 691, 793

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8099) - mean (94ms)  : 92, 96
    master - mean (93ms)  : 91, 96

    section Bailout
    This PR (8099) - mean (94ms)  : 93, 96
    master - mean (94ms)  : 93, 95

    section CallTarget+Inlining+NGEN
    This PR (8099) - mean (727ms)  : 694, 760
    master - mean (723ms)  : 694, 752

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8099) - mean (93ms)  : 90, 95
    master - mean (92ms)  : 90, 94

    section Bailout
    This PR (8099) - mean (94ms)  : 92, 95
    master - mean (93ms)  : 92, 94

    section CallTarget+Inlining+NGEN
    This PR (8099) - mean (641ms)  : 629, 653
    master - mean (640ms)  : 623, 657

Loading
HttpMessageHandler (.NET Framework 4.8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET Framework 4.8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8099) - mean (194ms)  : 190, 198
    master - mean (195ms)  : 191, 198

    section Bailout
    This PR (8099) - mean (197ms)  : 194, 199
    master - mean (198ms)  : 195, 202

    section CallTarget+Inlining+NGEN
    This PR (8099) - mean (1,144ms)  : 1073, 1215
    master - mean (1,148ms)  : 1090, 1205

Loading
HttpMessageHandler (.NET Core 3.1)
gantt
    title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8099) - mean (278ms)  : 272, 283
    master - mean (278ms)  : 272, 284

    section Bailout
    This PR (8099) - mean (279ms)  : 274, 285
    master - mean (278ms)  : 274, 282

    section CallTarget+Inlining+NGEN
    This PR (8099) - mean (940ms)  : 901, 979
    master - mean (940ms)  : 904, 976

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8099) - mean (271ms)  : 267, 276
    master - mean (270ms)  : 266, 274

    section Bailout
    This PR (8099) - mean (270ms)  : 268, 273
    master - mean (270ms)  : 266, 273

    section CallTarget+Inlining+NGEN
    This PR (8099) - mean (931ms)  : 890, 973
    master - mean (929ms)  : 872, 986

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8099) - mean (271ms)  : 263, 278
    master - mean (270ms)  : 265, 275

    section Bailout
    This PR (8099) - mean (270ms)  : 266, 274
    master - mean (270ms)  : 266, 275

    section CallTarget+Inlining+NGEN
    This PR (8099) - mean (834ms)  : 814, 854
    master - mean (839ms)  : 817, 861

Loading

@NachoEchevarria NachoEchevarria marked this pull request as ready for review January 27, 2026 12:16
@NachoEchevarria NachoEchevarria requested a review from a team as a code owner January 27, 2026 12:16
@pr-commenter
Copy link

pr-commenter bot commented Jan 27, 2026

Benchmarks

Benchmark execution time: 2026-01-29 11:25:36

Comparing candidate commit 9a49df3 in PR branch nacho/FlakyFullNameTests with baseline commit e86e7a3 in branch master.

Found 13 performance improvements and 5 performance regressions! Performance is the same for 155 metrics, 19 unstable metrics.

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces netcoreapp3.1

  • 🟩 execution_time [-89.191ms; -87.221ms] or [-45.063%; -44.068%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody net6.0

  • 🟩 execution_time [-26.650ms; -20.787ms] or [-11.936%; -9.310%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody netcoreapp3.1

  • 🟥 execution_time [+13.702ms; +18.250ms] or [+6.850%; +9.123%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs net472

  • 🟩 throughput [+237.304op/s; +241.579op/s] or [+6.620%; +6.739%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs netcoreapp3.1

  • 🟩 execution_time [-19.047ms; -18.261ms] or [-9.490%; -9.098%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack netcoreapp3.1

  • 🟥 execution_time [+19.569µs; +47.313µs] or [+6.019%; +14.552%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟩 throughput [+61089103.500op/s; +62284971.306op/s] or [+44.420%; +45.289%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net6.0

  • 🟩 execution_time [-27.680ms; -17.623ms] or [-22.846%; -14.545%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces netcoreapp3.1

  • 🟩 execution_time [-84.202ms; -78.640ms] or [-38.728%; -36.169%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice netcoreapp3.1

  • 🟥 throughput [-204.772op/s; -153.250op/s] or [-38.444%; -28.771%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net6.0

  • 🟩 throughput [+24.382op/s; +27.817op/s] or [+5.098%; +5.816%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark net6.0

  • 🟩 execution_time [-7.929µs; -3.415µs] or [-15.777%; -6.795%]
  • 🟩 throughput [+1420.479op/s; +3062.626op/s] or [+7.006%; +15.106%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog netcoreapp3.1

  • 🟥 execution_time [+28.682ms; +29.894ms] or [+16.760%; +17.469%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472

  • 🟩 throughput [+16941.299op/s; +18454.194op/s] or [+5.008%; +5.456%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net6.0

  • 🟩 execution_time [-75.534ms; -74.298ms] or [-38.025%; -37.403%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net6.0

  • 🟩 execution_time [-17.537ms; -11.932ms] or [-8.229%; -5.599%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes netcoreapp3.1

  • 🟥 execution_time [+10.130ms; +15.887ms] or [+5.139%; +8.060%]

testCase.DisplayName :
$"{TestMethod.TestClass.Class.Name}.{testCase.DisplayName}").Trim();

if (testFullName.Length > 200)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For readability in the future can we just extract 200 to some variable to note that it is the maximum name length? var maxTestNameLength = 200

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea! Done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:tests unit tests, integration tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants