base structure with dopt.SharpPython base library, related to #1

This commit is contained in:
2025-06-18 14:19:08 +02:00
parent fe03ad41fb
commit 9ccab97fe7
5 changed files with 37 additions and 13 deletions

View File

@@ -1,11 +0,0 @@
namespace dopt.TOMTests
{
[TestClass]
public sealed class Test1
{
[TestMethod]
public void TestMethod1()
{
}
}
}

17
dopt.TOMTests/Tests.cs Normal file
View File

@@ -0,0 +1,17 @@
namespace dopt.TOMTests
{
using dopt.TOM;
[TestClass]
public sealed class PluginTests
{
public const string rtPath = @"A:\Arbeitsaufgaben\MOP-TOM\tom-plugin-deploy\bin";
public const string dummyData = @"Dummy_Dataset_N_1000.csv";
[TestMethod]
public void RunPipelineOnTestData()
{
var plugin = new Plugin(rtPath);
plugin.RunOnCSV("t123", dummyData);
plugin.Dispose();
}
}
}

View File

@@ -13,6 +13,8 @@
For more information, visit https://learn.microsoft.com/dotnet/core/testing/unit-testing-platform-integration-dotnet-test#show-failure-per-test
-->
<TestingPlatformShowTestsFailure>true</TestingPlatformShowTestsFailure>
<PlatformTarget>x64</PlatformTarget>
<Platforms>AnyCPU</Platforms>
</PropertyGroup>
<ItemGroup>
@@ -22,6 +24,10 @@
<PackageReference Include="MSTest" Version="3.6.4" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\dopt.TOM\dopt.TOM.csproj" />
</ItemGroup>
<ItemGroup>
<Using Include="Microsoft.VisualStudio.TestTools.UnitTesting" />
</ItemGroup>