Skip to content

Commit f6954c6

Browse files
committed
disable conversation tests - only test Assistant
1 parent 5d6d31e commit f6954c6

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ after_build:
9999
100100
Copy-Item C:\projects\dotnet-standard-sdk\test\IBM.WatsonDeveloperCloud.LanguageTranslator.v2.IntegrationTests\glossary.tmx C:\projects\dotnet-standard-sdk\glossary.tmx
101101
test_script:
102-
- ps: "if((Test-Path -Path coverage))\n{\n rm coverage -r -force\n}\nNew-Item -path . -name coverage -itemtype directory\nForEach ($folder in (Get-ChildItem -Path C:\\projects\\dotnet-standard-sdk\\test -Directory)) { \n if($env:APPVEYOR_PULL_REQUEST_NUMBER -eq $null)\n {\n Write-Output \"No pull request number. Executing tests\"\n dotnet test $folder.FullName\n if($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode ) }\n echo \"Test passed: $?\"\n echo \"LastExitCode: $LastExitCode\"\n $openCover = 'C:\\projects\\dotnet-standard-sdk\\packages\\OpenCover.4.6.519\\tools\\OpenCover.Console.exe' \n $targetArgs = '-targetargs: test ' + $folder.FullName + ' -c Release -f netcoreapp1.0'\n $filter = '-filter:+[IBM.WatsonDeveloperCloud*]*-[*Tests*]*-[*Example*]*'\n & $openCover '-target:C:\\Program Files\\dotnet\\dotnet.exe' $targetArgs '-register:user' $filter '-oldStyle' '-mergeoutput' '-hideskipped:File' '-searchdirs:$testdir\\bin\\release\\netcoreapp1.0' '-output:coverage\\coverage.xml'\n }\n else\n {\n Write-Output \"Pull request number is $env:APPVEYOR_PULL_REQUEST_NUMBER. Skipping tests.\"\n }\n }\n\nC:\\projects\\dotnet-standard-sdk\\packages\\ReportGenerator.2.4.5.0\\tools\\ReportGenerator.exe -reports:coverage\\coverage.xml -targetdir:coverage -verbosity:Error\n\nif($env:COVERALLS_REPO_TOKEN)\n{\n C:\\projects\\dotnet-standard-sdk\\packages\\coveralls.net.0.7.0\\tools\\csmacnz.Coveralls.exe --opencover -i coverage\\coverage.xml --useRelativePaths\n}\nelse\n{\n Write-Output \"There is no Coveralls Repo Token - not pushing coverage.\"\n}"
102+
- ps: "if((Test-Path -Path coverage))\n{\n rm coverage -r -force\n}\n\nNew- Item-path . -name coverage -itemtype directory\nForEach ($folder in (Get-ChildItem -Path C:\\\\projects\\\\dotnet-standard-sdk\\\\test -Directory))\n{ \n if($env:APPVEYOR_PULL_REQUEST_NUMBER -eq $null)\n {\n $openCover = 'C:\\\\projects\\\\dotnet-standard-sdk\\\\packages\\\\OpenCover.4.6.519\\\\tools\\\\OpenCover.Console.exe' \n $targetArgs = '-targetargs: test ' + $folder.FullName + ' -c Release -f netcoreapp1.0'\n $filter = '-filter:+[IBM.WatsonDeveloperCloud*]*-[*Tests*]*-[*Example*]*'\n & $openCover '-target:C:\\\\Program Files\\\\dotnet\\\\dotnet.exe' $targetArgs '-register:user' $filter '-oldStyle' '-mergeoutput' '-hideskipped:File' '-searchdirs:$testdir\\\\bin\\\\release\\\\netcoreapp1.0' '-output:coverage\\\\coverage.xml'\n }\n else\n {\n Write-Output \\\"Pull request number is $env:APPVEYOR_PULL_REQUEST_NUMBER. Skipping tests.\\\"\n }\n}\n \nC:\\\\projects\\\\dotnet-standard-sdk\\\\packages\\\\ReportGenerator.2.4.5.0\\\\tools\\\\ReportGenerator.exe -reports:coverage\\\\coverage.xml -targetdir:coverage -verbosity:Error\n \nif($env:COVERALLS_REPO_TOKEN)\n{\n C:\\\\projects\\\\dotnet-standard-sdk\\\\packages\\\\coveralls.net.0.7.0\\\\tools\\\\csmacnz.Coveralls.exe --opencover -i coverage\\\\coverage.xml --useRelativePaths\n}\nelse\n{\n Write-Output \\\"There is no Coveralls Repo Token - not pushing coverage.\\\"\n}"
103103
# artifacts:
104104
# - path: '\src\IBM.WatsonDeveloperCloud\bin\$(configuration)\*.nupkg'
105105
# name: IBM.WatsonDeveloperCloud

test/IBM.WatsonDeveloperCloud.Conversation.v1.IntegrationTests/ConversationIntegrationTests.cs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
namespace IBM.WatsonDeveloperCloud.Conversation.v1.IntegratiationTests
2828
{
29-
[TestClass]
29+
//[TestClass]
3030
public class ConversationIntegrationTests
3131
{
3232
private static string _username;
@@ -52,7 +52,7 @@ public class ConversationIntegrationTests
5252
private static string _dialogNodeName = "dialognode";
5353
private static string _dialogNodeDesc = ".NET SDK Integration test dialog node";
5454

55-
[TestInitialize]
55+
//[TestInitialize]
5656
public void Setup()
5757
{
5858
if (string.IsNullOrEmpty(credentials))
@@ -108,7 +108,7 @@ public void Setup()
108108
}
109109
}
110110

111-
[TestCleanup]
111+
//[TestCleanup]
112112
public void Teardown()
113113
{
114114
var workspaces = _service.ListWorkspaces();
@@ -138,7 +138,7 @@ public void Teardown()
138138

139139

140140
#region Message
141-
[TestMethod]
141+
//[TestMethod]
142142
public void Message_Success()
143143
{
144144
MessageRequest messageRequest = new MessageRequest()
@@ -156,7 +156,7 @@ public void Message_Success()
156156
#endregion
157157

158158
#region Workspaces
159-
[TestMethod]
159+
//[TestMethod]
160160
public void TestWorkspaces_Success()
161161
{
162162
var ListWorkspacesResult = ListWorkspaces();
@@ -197,7 +197,7 @@ public void TestWorkspaces_Success()
197197
#endregion
198198

199199
#region Counter Examples
200-
[TestMethod]
200+
//[TestMethod]
201201
public void TestCounterExamples_Success()
202202
{
203203
CreateWorkspace createWorkspace = new CreateWorkspace()
@@ -244,7 +244,7 @@ public void TestCounterExamples_Success()
244244
#endregion
245245

246246
#region Entities
247-
[TestMethod]
247+
//[TestMethod]
248248
public void TestEntities_Success()
249249
{
250250
CreateWorkspace workspace = new CreateWorkspace()
@@ -294,7 +294,7 @@ public void TestEntities_Success()
294294
#endregion
295295

296296
#region Values
297-
[TestMethod]
297+
//[TestMethod]
298298
public void TestValues_Success()
299299
{
300300
CreateWorkspace workspace = new CreateWorkspace()
@@ -349,7 +349,7 @@ public void TestValues_Success()
349349
#endregion
350350

351351
#region Synonyms
352-
[TestMethod]
352+
//[TestMethod]
353353
public void TestSynonyms_Success()
354354
{
355355
CreateWorkspace workspace = new CreateWorkspace()
@@ -409,7 +409,7 @@ public void TestSynonyms_Success()
409409
#endregion
410410

411411
#region Intents
412-
[TestMethod]
412+
//[TestMethod]
413413
public void TestIntents_Success()
414414
{
415415
CreateWorkspace workspace = new CreateWorkspace()
@@ -457,7 +457,7 @@ public void TestIntents_Success()
457457
#endregion
458458

459459
#region Examples
460-
[TestMethod]
460+
//[TestMethod]
461461
public void TestExamples_Success()
462462
{
463463
CreateWorkspace workspace = new CreateWorkspace()
@@ -510,7 +510,7 @@ public void TestExamples_Success()
510510
#endregion
511511

512512
#region Dialog Nodes
513-
[TestMethod]
513+
//[TestMethod]
514514
public void TestDialogNodes_Success()
515515
{
516516
CreateWorkspace workspace = new CreateWorkspace()
@@ -560,7 +560,7 @@ public void TestDialogNodes_Success()
560560
#endregion
561561

562562
#region Logs
563-
[TestMethod]
563+
//[TestMethod]
564564
public void ListLogs_Success()
565565
{
566566
CreateWorkspace workspace = new CreateWorkspace()
@@ -579,7 +579,7 @@ public void ListLogs_Success()
579579
Assert.IsNotNull(listLogsResult);
580580
}
581581

582-
[TestMethod]
582+
//[TestMethod]
583583
public void ListAllLogs_Success()
584584
{
585585
var filter = "(language::en,request.context.metadata.deployment::deployment_1)";

0 commit comments

Comments
 (0)