Various bugs running on large codebase
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
調査の方向性
Steeltoe.Common.Expression.Test で、パッケージと using エントリを /shared-test.props に追加し、Steeltoe.Debug.ruleset のルールを Warning に設定して再ビルドすることで再現します。既存の Xunit テストに fixer を適用し、その後、変更されないケース、コンパイルに失敗するケース、またはテスト失敗を引き起こすケースをそれぞれ特定します。更新されたコードがコンパイルでき、テストに合格すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Description
When running this analyzer on the codebase at https://github.com/SteeltoeOSS/Steeltoe, the fixers produce code that doesn't compile in several cases. After fixing them manually, various tests start to fail.
Complete minimal example reproducing the issue
- Clone the repo at https://github.com/SteeltoeOSS/Steeltoe
- Add the following to
/shared-test.props:<ItemGroup> <PackageReference Include="FluentAssertions.Analyzers" Version="0.21.0" PrivateAssets="All" /> </ItemGroup> <ItemGroup> <Using Include="FluentAssertions" /> <Using Include="Xunit" /> </ItemGroup> - Set all analyzer rules of this package to Warning severity in
Steeltoe.Debug.ruleset: Opensrc/Steeltoe.Allin Visual Studio, expand the Dependencies/Analyzers/FluentAssertions.Analyzers node in project Common/Steeltoe.Common.Expression.Test, select all rules, and right-click > Set severity > Warning. - Rebuild the Steeltoe.Common.Expression.Test project and use the fixers to update existing Xunit tests to FluentAssertions.
Expected behavior:
No broken code and no failing tests.
Actual behavior:
Some fixers don't actually change code; others produce code that doesn't compile. Some result in test failures.
Versions
- Which version of Fluent Assertions Analyzers are you using? v0.21.0 with FA v6.8.0
- Which .NET runtime and version are you targeting? .NET 6
Additional Information
I only tried running on the Steeltoe.Common.Expression.Test project. Running on the complete solution may surface additional issues.
- 主要言語
- C#
- スター
- 131
- フォーク
- 25
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
fluentassertions/fluentassertions.analyzers のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
fluentassertions/fluentassertions.analyzers#405 · リアクション 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 58/100
fluentassertions/fluentassertions.analyzers#404 · リアクション 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
fluentassertions/fluentassertions.analyzers#403 · コメント 6 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
fluentassertions/fluentassertions.analyzers#400 · コメント 2 件 ·
-
Use Microsoft.CodeAnalysis.Testing for tests対応中かも @Meir017 が 734 日前に担当しました。 オープンenhancement
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
fluentassertions/fluentassertions.analyzers の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
gavin-wolfe/wolfden#104 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] Still libmicrohttpd dependency is not removed properly from External-Dependency-Info.txt fileオープンtype/bug
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
[辞書] かんそうりつ->乾燥率オープン辞書
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
thomhurst/TUnit#7201 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
ArduPilot/MissionPlanner#3826 ·
メンテナーはふだん 1 日以内に返信