Update e2e test infrastructure

This commit is contained in:
IvanZosimov
2023-04-19 13:40:44 +02:00
parent b72f430d36
commit 180a15970f
7 changed files with 92 additions and 112 deletions

View File

@ -1,4 +1,5 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace test_csproj
{
@ -7,8 +8,11 @@ namespace test_csproj
{
[TestMethod]
public void TestMethod()
{
Assert.AreEqual((1 + 1), 2);
{
Console.WriteLine("TestMethod");
int calculatedResult = 1000 / 25;
int expectedResult = 40;
Assert.AreEqual(calculatedResult, expectedResult);
}
}
}

View File

@ -2,11 +2,11 @@
<PropertyGroup>
<TargetFramework>$(TEST_TARGET_FRAMEWORK)</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<!-- These packages will be downloaded over the network for testing proxy settings -->
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0-preview-20170810-02" />
<PackageReference Include="MSTest.TestAdapter" Version="1.1.18" />
<PackageReference Include="MSTest.TestFramework" Version="1.1.18" />