Skip to content

Commit 5ac73b3

Browse files
committed
C#: Split tests in separate directories.
1 parent e9efa7c commit 5ac73b3

File tree

5 files changed

+19
-8
lines changed

5 files changed

+19
-8
lines changed
Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,2 @@
1-
import pytest
2-
3-
@pytest.mark.xdist_group("dotnet10")
4-
def test1(codeql, csharp):
1+
def test(codeql, csharp):
52
codeql.database.create()
6-
7-
@pytest.mark.xdist_group("dotnet10")
8-
def test2(codeql, csharp):
9-
codeql.database.create(build_mode="none")
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Console.WriteLine($"<arguments>{string.Join(",", args)}</arguments>");
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net10.0</TargetFramework>
6+
<ImplicitUsings>enable</ImplicitUsings>
7+
<Nullable>enable</Nullable>
8+
</PropertyGroup>
9+
10+
</Project>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"sdk": {
3+
"version": "10.0.100"
4+
}
5+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
def test(codeql, csharp):
2+
codeql.database.create(build_mode="none")

0 commit comments

Comments
 (0)