Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions global.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"vs": {
"version": "15.9"
},
"dotnet": "6.0.100-preview.4.21255.9"
"dotnet": "6.0.100-preview.7.21364.30"
},
"msbuild-sdks": {
"Microsoft.DotNet.Arcade.Sdk": "6.0.0-beta.21357.3"
},
"sdk": {
"version": "6.0.100-preview.4.21255.9"
"version": "6.0.100-preview.7.21364.30"
}
}
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Company.TestProject1
namespace Company.TestProject1;

[TestClass]
public class UnitTest1
{
[TestClass]
public class UnitTest1
[TestMethod]
public void TestMethod1()
{
[TestMethod]
public void TestMethod1()
{
}
}
}
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
using NUnit.Framework;

namespace Company.TestProject1
namespace Company.TestProject1;

public class Tests
{
public class Tests
[SetUp]
public void Setup()
{
[SetUp]
public void Setup()
{
}
}

[Test]
public void Test1()
{
Assert.Pass();
}
[Test]
public void Test1()
{
Assert.Pass();
}
}
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
using Xunit;

namespace Company.TestProject1
namespace Company.TestProject1;

public class UnitTest1
{
public class UnitTest1
[Fact]
public void Test1()
{
[Fact]
public void Test1()
{

}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
<TargetFramework>net6.0</TargetFramework>
<IsTestProject>true</IsTestProject>
<IsPackable>false</IsPackable>
<LangVersion>preview</LangVersion>
<NoWarn>$(NoWarn);CS0105</NoWarn>

<GenerateProgramFile>false</GenerateProgramFile>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 2 additions & 0 deletions test/Microsoft.TestTemplates.Acceptance.Tests/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[Microsoft.VisualStudio.TestPlatform.TestSDKAutoGeneratedCode]
class AutoGeneratedProgram {static void Main(string[] args){}}