nunit-2.6.2

    1熱度

    1回答

    注意>國家/地區表中的記錄數:36條記錄。 我的代碼: [TestFixture] public class CountriesControllerTest { Mock<IJN_CountryRepository> countryRepository; Mock<IUnitOfWork> unitOfWork; IJN_CountrySe

    1熱度

    1回答

    我試圖使用NUnit 2.6.2的TestContext.CurrentContext,但它始終爲空。 我想要的是具有測試結果的輸出,但是如果我運行以下代碼,我總是在TearDown方法中獲得NullReferenceException。 測試和結果中的所有屬性都拋出異常。 [TestFixture] public class UtilitiesTests { [TearDown]

    0熱度

    3回答

    我有一個奇怪的問題與Visual Studio 2010旗艦版: 我的一個Nunit(2.6.2)測試用例在調試模式下失敗但通過運行模式,就好像我們在兩種情況下有完全不同的代碼路徑。 這是一個已知的錯誤嗎?或者是否有一些選項與我失蹤? 請賜教! 非常感謝。 編輯 - 更多信息 我的應用程序向組織內的一組人員寫的一個dll提交了一些請求。該DLL做一些計算並將結果返回給我。在運行Nunit測試時,運