Browse Source

getting initial tests working

main
Steve Smith 9 years ago
parent
commit
ac89e73bf4
  1. 6
      tests/IntegrationTests/IntegrationTests.csproj
  2. 17
      tests/IntegrationTests/Web/Controllers/CatalogControllerGetImage.cs

6
tests/IntegrationTests/IntegrationTests.csproj

@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp1.1</TargetFramework>
@ -10,4 +10,8 @@
<PackageReference Include="xunit.runner.visualstudio" Version="2.2.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Web\Web.csproj" />
</ItemGroup>
</Project>

17
tests/IntegrationTests/Web/Controllers/CatalogControllerGetImage.cs

@ -0,0 +1,17 @@
using Microsoft.eShopWeb.Controllers;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace IntegrationTests.Web.Controllers
{
public class CatalogControllerGetImage
{
[Fact]
public void ReturnsFileContentResultGivenValidId()
{
//var controller = new CatalogController()
}
}
}
Loading…
Cancel
Save