問題タブ [nunit-2.6.2]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
c# - NUnit 2.6.2 TestContext.CurrentContext は常に null
TestContext.CurrentContext
NUnit 2.6.2を使用しようとしていますが、常に null です。
私が望むのは、テストの結果を出力することですが、次のコードを実行すると、常にメソッドで a が取得NullReferenceException
されTearDown
ます。Test および Result 内のすべてのプロパティが例外をスローしています。
私が間違っている可能性がありますか?