Skip to content

Add test project for c# 14 - #4040

Merged
1 commit merged into
DotNetAnalyzers:masterfrom
bjornhellander:feature/cs14-test-project
Oct 7, 2026
Merged

1 commit merged into
DotNetAnalyzers:masterfrom
bjornhellander:feature/cs14-test-project

Conversation

@bjornhellander

Copy link
Copy Markdown
Contributor

No description provided.

@bjornhellander
bjornhellander force-pushed the feature/cs14-test-project branch from bc1e109 to ccb81f4 Compare November 29, 2025 10:44
@codecov

codecov Bot commented Nov 29, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 97.40%. Comparing base (b72b3f7) to head (ccb81f4).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4040      +/-   ##
==========================================
+ Coverage   97.14%   97.40%   +0.26%     
==========================================
  Files         957      959       +2     
  Lines      112852   112875      +23     
  Branches     3389     3390       +1     
==========================================
+ Hits       109629   109951     +322     
+ Misses       2224     1934     -290     
+ Partials      999      990       -9     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bjornhellander
bjornhellander marked this pull request as ready for review November 29, 2025 11:51
@sharwell

Copy link
Copy Markdown
Member

This one's going to take me a bit. I'm planning to complete the feature audit in order and I just finished C# 8 yesterday.

@bjornhellander

Copy link
Copy Markdown
Contributor Author

This one's going to take me a bit. I'm planning to complete the feature audit in order and I just finished C# 8 yesterday.

Not a problem. Let me know if you'd like any help.

@sharwell

sharwell commented Dec 3, 2025

Copy link
Copy Markdown
Member

Reviews on the PRs submitted for the sub-issues of #4041 would be helpful 😄 I'm moving through these fairly quickly.

@EdwinEngelen

Copy link
Copy Markdown
Contributor

I performed a (partial) review:

  • All test files that exist in StyleCop.Analyzers.Test.CSharp13 also exist in StyleCop.Analyzers.Test.CSharp14
  • All tests are empty / don't contain any tests
  • All tests are in the CSharp14 namespace and derive from CSharp14-tests
  • Tests use C# 14 (Microsoft.CodeAnalysis.CSharp.Workspaces 5.0)

@AArnott AArnott closed this pull request by merging all changes into DotNetAnalyzers:master in 0f53dab Oct 7, 2026
alexander-efremov pushed a commit to alexander-efremov/StyleCopNext.Analyzers that referenced this pull request Oct 7, 2026
Bring Björn's C# 14 test project commit (ccb81f4, from DotNetAnalyzers#4040) up to date
with master.

Conflict resolution:
- build/build-and-test.yml, build/test.yml: keep master's deletion (DotNetAnalyzers#4105
  moved CI to GitHub Actions); the C# 14 test stage moves to
  .github/workflows/build.yml (test binary upload + langVersion 14 matrix entry).
- SA1107UnitTests.cs: keep the GetFixedCodeTestEmptyStatementAfterBlock hook
  from DotNetAnalyzers#4040 on top of master's VerifyCSharpFixAsync form of the test.
@bjornhellander
bjornhellander deleted the feature/cs14-test-project branch October 8, 2026 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants