使用以下命令从Powershell运行时
&安培; " c:\ Program Files(x86)\ Nunit 2.6.4 \ bin \ nunit-console.exe" /runlist=C:.....\ReRunTests.txt " C:..... \ BIN \调试\ Web.Test.UI.dll"
以及以下运行列表 的 ReRunTests.txt
AddToCartFeature.AddOneItemToMyCart AddToCartFeature.AddPremierToBasket DeliveryOptionsWithANonRegisteredUserFeature.SelectNamedDayDeliveryOption DeliveryOptionsWithANonRegisteredUserFeature.SelectNextDayDeliveryOption DeliveryOptionsWithANonRegisteredUserFeature.SelectPremierDeliveryOption DeliveryOptionsWithANonRegisteredUserFeature.SelectStandardAndReturnsLabelDeliveryOption DeliveryOptionsWithANonRegisteredUserFeature.SelectStandardDeliveryOption UseAlternativeDeliveryAddressOnCheckoutFeature.AddValidAlternativeAddress SubmitFreeTextSearchForExistingProducts("牛仔裤"" 02 / FTS /搜索=牛仔裤"?,null)的 CreateNewAccountFeature.AnonymousUserWithoutAnExistingAccount EditMyAccountDetailsFeature.EditExistingCustomerDetails ViewMyAccountDetailsFeature.ViewingCardHolderAddress RefineProductListByParametersFeature.SortByPercentageSavingAndGoToTheSecondPage 的 TopNavSearchFeature.UsingDropDownNavigation("男士"" MensNewIn"" 01 /男子/新",null)的 TopNavSearchFeature.UsingDropDownNavigation("妇女"" WomensNewIn"" 01 /妇女/新",null)的
跳过以粗体突出显示的测试。这似乎与逃避引号或逗号有关,但我无法理解为什么会这样做?
SubmitFreeTextSearchForExistingProducts("牛仔裤"" 02 / FTS /搜索=牛仔裤"?,null)的
并且以下非参数化的确实会运行。
我试过逃避引号,但测试根本没有运行。