Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NuGetパッケージ公開用リポジトリを作成する #2342

Open
fkoyama opened this issue Jan 27, 2025 · 2 comments
Open

NuGetパッケージ公開用リポジトリを作成する #2342

fkoyama opened this issue Jan 27, 2025 · 2 comments
Labels
target: Dressca サンプルアプリケーションDresscaに関係がある 内部の改善 機能更新やドキュメント更新ではない改善
Milestone

Comments

@fkoyama
Copy link
Contributor

fkoyama commented Jan 27, 2025

概要

#1778 から独立。
NuGetパッケージ公開用のリポジトリを作成し、リポジトリ公開に向けた資材を追加します。

完了条件

  • NuGetパッケージ公開用のリポジトリが作成されていること
  • 以下がリポジトリに追加されていること
    • README
    • LICENSE
    • CONTRIBUTING
    • Maris.Logging.Testingプロジェクトとそのテストプロジェクト
@fkoyama fkoyama added target: Dressca サンプルアプリケーションDresscaに関係がある 内部の改善 機能更新やドキュメント更新ではない改善 labels Jan 27, 2025
@fkoyama
Copy link
Contributor Author

fkoyama commented Jan 30, 2025

  • リポジトリ名候補
    • dotnet-libraries
    • dotnet-components
    • dotnet-modules
      ⇒ dotnet-libraries に決定

@tsuna-can-se tsuna-can-se added this to the v1.1.0 milestone Feb 5, 2025
@fkoyama
Copy link
Contributor Author

fkoyama commented Feb 5, 2025

リポジトリ内のフォルダー構造

①src と test に分けてソースコードとテストコードを配置

Image

②パッケージごとのフォルダーにソースコードとテストコードを配置

Image

その他

  • ソースコードと同じプロジェクト内にテストコードを配置
    • ソースコード側のプロジェクト構成が変更された際にテストコードを移動しやすいことがメリットとして挙げられている
    • プロジェクト自体を統合すると、結局フォルダーを切ってソースコードとテストコードを分離することになるので上記の②とほぼ同じ…?
      https://canvascodebw.medium.com/unit-tests-where-do-you-put-em-c-example-38bd916f8d80

⇒①の方針に決定

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
target: Dressca サンプルアプリケーションDresscaに関係がある 内部の改善 機能更新やドキュメント更新ではない改善
Projects
None yet
Development

No branches or pull requests

2 participants