ETidalgo
7/10/2018 - 11:42 PM

Run NUnit from command line

Can get full test method name from Resharper > Edit > Copy fully qualified name

nunit3-console.exe <test.dll> --test=Namespace.class.method

pushd D:\dev\eCargo\eCargo.CSharp\SystemTests\Integration\bin\Debug
D:\dev\eCargo\ThirdParty\NUnit\bin\nunit3-console.exe .\ECargo.SystemTests.Integration.dll --test=ECargo.SystemTests.Integration.Common.DataAccess.Core.Invoices.Queries.GetActualInvoiceAddresseeByCriteriaTests

D:\dev\eCargo\ThirdParty\NUnit\bin\nunit3-console.exe .\ECargo.SystemTests.Legacy.dll --test=ECargo.SystemTests.Legacy.Online.AssignVehicle.AssignVehicleTests.Given_a_consignment_without_a_vehicle_When_assigning_a_vehicle_via_online_Then_the_consignment_is_updated_correctly