Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
MsTest と C# で Specflow を使用しています。
すべてのシナリオに適用される Default.srprofile を使用して stopAfterFailures と retryFor を構成できますが、フックにある可能性があるコードで構成したいです。だから私はそれを機能的に設定することができます。
テスト実行中に Specrun stopAfterFailures と retryFor をプログラムで構成するにはどうすればよいですか?
テスト実行中にこの値を変更することはできません。
SpecRun 1.3 (まだリリースされていません) で追加したのは、テスト実行全体をキャンセルする API があるということです。