To run Silk4NET tests from the command line, you can use VSTest.Console.exe. This command line executable is included in Visual Studio and does not require any additional tools in addition to Silk4NET to be installed. For additional information on using the VSTest.console from the command line, refer to Using VSTest.console from the command line.
To run your Silk4NET tests from the command line, perform the following actions:
Vstest.console.exe [TestFileNames] [Options]For example, to execute the tests in myTestFile.dll, type the following:
vstest.console.exe myTestFile.dll
<SilkTestClass> Public Class MyTestClassThen create the DLL, for example myTestClass.dll and execute the tests from the command line by typing:
vstest.console.exe myTestClass.dll