0

使用以下命令从 Powershell 运行时

& "c:\Program Files (x86)\Nunit 2.6.4\bin\nunit-console.exe" /runlist=C:.....\ReRunTests.txt "C:.....\bin\debug \Web.Test.UI.dll"

和以下运行列表 ReRunTests.txt

AddToCartFeature.AddOneItemToMyCart AddToCartFeature.AddPremierToBasket DeliveryOptionsWithANonRegisteredUserFeature.SelectNamedDayDeliveryOption DeliveryOptionsWithANonRegisteredUserFeature.SelectNextDayDeliveryOption DeliveryOptionsWithANonRegisteredUserFeature.SelectPremierDeliveryOption DeliveryOptionsWithANonRegisteredUserFeature.SelectStandardAndReturnsLabelDeliveryOption DeliveryOptionsWithANonRegisteredUserFeature.SelectStandardDeliveryOption UseAlternativeDeliveryAddressOnCheckoutFeature.AddValidAlternativeAddress SubmitFreeTextSearchForExistingProducts("jeans","02/fts/?search=jeans",null) CreateNewAccountFeature.AnonymousUserWithoutAnExistingAccountEditMyAccountDetailsFeature.EditExistingCustomerDetails ViewMyAccountDetailsFeature.ViewingCardHolderAddress RefineProductListByParametersFeature.SortByPercentageSavingAndGoToTheSecondPage TopNavSearchFeature.UsingDropDownNavigation("Mens","MensNewIn","01/mens/new",null) TopNavSearchFeature.UsingDropDownNavigation("Womenswomen","/"Womens" ,无效的)

以粗体突出显示的测试被跳过。这似乎与转义引号或逗号有关,但我不明白为什么这个会运行

SubmitFreeTextSearchForExistingProducts("jeans","02/fts/?search=jeans",null)

并且以下非参数化的确实运行。

我试过转义引号,但测试根本没有运行。

4

0 回答 0