IntelliTect / IntelliTect/TestTools.TestFramework

Consider: Moving gathering test block inputs/outputs to the Add methods

オープン
#75 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C#
スター
1
フォーク
1
PR マージ指標
30日以内にマージされた PR はありません

説明

Currently, TestBuilder.Build() goes through and finds all inputs (properties, constructor parameters, and Execute parameters,) and outputs (return types) and then cross-checks them all in order to make sure all test blocks have the required dependencies supplied by a prior test block.

It might make an appreciable difference in maintainability and readability in TestBuilder.Build() to instead handle that as part of AddTestBlock, AddAsyncTestBlock, AddFinallyBlock, and AddAsyncFinallyBlock.

Each TestBlock would need an Input and Output property. We don't really care (at that point) how the test block asks for the input; The DI service handles it for constructors, and there's already code to handle properties and execute args.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。