asp.net mvc - The test method is not being shown in test explorer VS2013 -
i'm @ beginning of testing calculation method. did clean, rebuild, x64 adjustments project , have nunit test adapter , other related dlls yet still cannot see test method in test explorer pane. help, there missing code or what?
namespace ninja.tests { [testfixture] public class singlepricingtests { [test] public void shouldcalculate() { var pricingmodeltest = new pricingmodel(); var sut = new pricecalculationservice(); // sut: system under test var result = sut.calculate(pricingmodeltest); var testparameters = new pricingcostparameters(); assert.that(result, is.equalto(testparameters)); } } }
i sure have wrong adapter nunit framework.
if use nunit 3.0 or later need use "nunit 3.0 test adapter" can download here https://www.nuget.org/packages/nunit3testadapter/3.0.8-ctp-8.
remove other adapters don't need.
Comments
Post a Comment