base structure with dopt.SharpPython base library, related to #1
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
namespace dopt.TOMTests
|
||||
{
|
||||
[TestClass]
|
||||
public sealed class Test1
|
||||
{
|
||||
[TestMethod]
|
||||
public void TestMethod1()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
17
dopt.TOMTests/Tests.cs
Normal file
17
dopt.TOMTests/Tests.cs
Normal 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user