-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix : python path + uni test + added Test resourses
- Loading branch information
1 parent
a69be86
commit c4cfa75
Showing
5 changed files
with
54 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using GingerTestHelper; | ||
using Microsoft.VisualStudio.TestTools.UnitTesting; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Reflection; | ||
using System.Text; | ||
namespace GingerPythonPluginTest | ||
{ | ||
[TestClass] | ||
public class TestAssemblyInit | ||
{ | ||
[AssemblyInitialize] | ||
public static void AssemblyInitialize(TestContext context) | ||
{ | ||
// Called once when the test assembly is loaded | ||
// We provide the assembly to GingerTestHelper.TestResources so it can locate the 'TestResources' folder path | ||
TestResources.Assembly = Assembly.GetExecutingAssembly(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import sys | ||
a = sys.argv[1] | ||
b = sys.argv[2] | ||
print('a=' + a) | ||
print('b=' + b) | ||
sum = int(a) + int(b) | ||
print('sum=' + str(sum)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters