Skip to content

Commit

Permalink
getting initial tests working
Browse files Browse the repository at this point in the history
  • Loading branch information
ardalis committed Apr 27, 2017
1 parent a277a21 commit ac89e73
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/IntegrationTests/IntegrationTests.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp1.1</TargetFramework>
Expand All @@ -10,4 +10,8 @@
<PackageReference Include="xunit.runner.visualstudio" Version="2.2.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\Web\Web.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -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()
}
}
}

0 comments on commit ac89e73

Please sign in to comment.