ソースを参照

Attempt to run both .NET 4.0 and .NET 3.5 tests.

Gert Driesen 8 年 前
コミット
0baac6aebd
1 ファイル変更4 行追加8 行削除
  1. 4 8
      appveyor.yml

+ 4 - 8
appveyor.yml

@@ -7,11 +7,7 @@ build:
   project: src\Renci.SshNet.VS2015.sln
   verbosity: minimal
 
-test:
-  assemblies:
-  - src\Renci.SshNet.Tests\bin\Debug\Renci.SshNet.Tests.dll
-  - src\Renci.SshNet.Tests.NET35\bin\Debug\Renci.SshNet.Tests.NET35.dll
-  categories:
-    except:
-    - integration
-    - LongRunning
+test_script:
+- cmd: >-
+    vstest.console /logger:Appveyor src\Renci.SshNet.Tests\bin\Debug\Renci.SshNet.Tests.dll /TestCaseFilter:"TestCategory!=integration&TestCategory!=LongRunning"
+    vstest.console /logger:Appveyor src\Renci.SshNet.Tests.NET35\bin\Debug\Renci.SshNet.Tests.NET35.dll /TestCaseFilter:"TestCategory!=integration&TestCategory!=LongRunning"