tests will be run from ../yavsc-client

This commit is contained in:
2018-05-07 10:18:25 +02:00
parent 1e6f74d70b
commit 2162de7ed9
4 changed files with 0 additions and 61 deletions

View File

@ -1,33 +0,0 @@
using System;
using Xunit;
namespace test1
{
public class UnitTest1
{
[Fact]
public void Test1()
{
}
[Fact]
public void PassingTest()
{
Assert.Equal(4, Add(2, 2));
}
[Fact]
public void FailingTest()
{
Assert.Equal(5, Add(2, 2));
}
int Add(int x, int y)
{
return x + y;
}
}
}

View File

@ -1,7 +0,0 @@
{
"sdk": {
"version": "2.0.4",
"runtime": "mono",
"architecture": "x64"
}
}

View File

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.NET.Test.Sdk" version="15.5.0" targetFramework="net45" />
<package id="xunit" version="2.3.1" targetFramework="net45" />
<package id="xunit.runner.visualstudio" version="2.3.1" targetFramework="net45" />
<package id="xunit.runner.console" version="2.3.1" targetFramework="net45" />
</packages>

View File

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp1.1</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0" />
<PackageReference Include="xunit" Version="2.3.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.3.1" />
<PackageReference Include="xunit.runner.console" Version="2.3.1" />
<!-- <PackageReference Include="Microsoft.Build.Utilities.Core" Version="14.0.0"/> -->
<Content Include="UnitTest1.cs" />
</ItemGroup>
</Project>