I'm at the beginning of testing a calculation method. I did clean, rebuild, x64 adjustments to the project and I have nunit test adapter and other related dlls yet I still cannot see the test method in test explorer pane. Could someone help, is there something missing about the 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));
}
}
}