<commit_before>{
  "Id": "ActionTemplates-2",
  "Name": "Run MSTests",
  "Description": null,
  "ActionType": "Octopus.Script",
  "Version": 5,
  "Properties": {
    "Octopus.Action.Script.ScriptBody": "Write-Output \"Running MsTests tests...\"\r\n\r\n$exePath = '\"' + $MsTestExePath + '\"'\r\nif (-not $exePath) {\r\n    $exePath = \"mstest.exe\"\r\n}\r\n\r\n$runMsTest = \"& $exePath /testcontainer:\"\r\n\r\n$MsTestAssemblies.Split(\";\") | ForEach {\r\n    $asm = $_.Trim()\r\n    Write-Output \"Including assembly $asm\"\r\n    $runMsTest += \"$asm\"\r\n}\r\nWrite-Host $runMsTest\r\ncd $MsTestWorkingDirectoryPath\r\nWrite-Host $MsTestWorkingDirectoryPath  \r\n\r\niex $runMsTest\r\n$mstestExit = $lastExitCode\r\n\r\n#New-OctopusArtifact -Path TestResult.xml\r\n#New-OctopusArtifact -Path TestStdOut.txt\r\n#New-OctopusArtifact -Path TestStdErr.txt\r\n\r\nexit $mstestExit"
  },
  "SensitiveProperties": {},
  "Parameters": [
    {
      "Name": "MsTestExePath",
      "Label": "Ms Test Path",
      "HelpText": null,
      "DefaultValue": null,
      "DisplaySettings": {}
    },
    {
      "Name": "MsTestWorkingDirectoryPath",
      "Label": "Working directory",
      "HelpText": "The folder that contains the test assemblies. Generally this will be bound to an output variable from a previous step. Example: _#{Octopus.Action[Deploy integration tests].Output.Package.InstallationDirectoryPath}_",
      "DefaultValue": null,
      "DisplaySettings": {}
    },
    {
      "Name": "MsTestAssemblies",
      "Label": "Test assemblies",
      "HelpText": "A semicolon-separated list of assembly names containing tests. Example: _MyCompany.IntegrationTests.dll; MyCompany.SmokeTests.dll_",
      "DefaultValue": null,
      "DisplaySettings": {}
    }
  ],
  "LastModifiedOn": "2015-04-20T21:23:41.796+00:00",
  "LastModifiedBy": "diuser",
  "$Meta": {
    "ExportedAt": "2015-04-20T22:40:20.935Z",
    "OctopusVersion": "2.6.4.951",
    "Type": "ActionTemplate"
  }
}
<commit_msg>Update run-mstest.json<commit_after>{
  "Id": "ActionTemplates-2",
  "Name": "Run MSTests",
  "Description": "This Step template should be used for running MSTests by passing list of assemblies.",
  "ActionType": "Octopus.Script",
  "Version": 13,
  "Properties": {
    "Octopus.Action.Script.ScriptBody": "Write-Output \"Running MsTests tests...\"\r\n\r\n$exePath = '\"' + $MsTestExePath + '\"'\r\nif (-not $exePath) {\r\n    $exePath = \"mstest.exe\"\r\n}\r\n\r\n$runMsTest = \"& $exePath \"\r\n\r\n$MsTestAssemblies.Split(\";\") | ForEach {\r\n    $asm = \" /testcontainer:\"+$_.Trim()\r\n    Write-Output \"Including test container assembly $asm\"\r\n    $runMsTest += \"$asm\"\r\n}\r\nWrite-Host $runMsTest\r\ncd $MsTestWorkingDirectoryPath\r\nWrite-Host $MsTestWorkingDirectoryPath  \r\n\r\niex $runMsTest\r\n$mstestExit = $lastExitCode\r\n\r\n\r\nexit $mstestExit"
  },
  "SensitiveProperties": {},
  "Parameters": [
    {
      "Name": "MsTestExePath",
      "Label": "Ms Test Path",
      "HelpText": null,
      "DefaultValue": null,
      "DisplaySettings": {}
    },
    {
      "Name": "MsTestWorkingDirectoryPath",
      "Label": "Working directory",
      "HelpText": "The folder that contains the test assemblies. Generally this will be bound to an output variable from a previous step. Example: _#{Octopus.Action[Deploy integration tests].Output.Package.InstallationDirectoryPath}_",
      "DefaultValue": null,
      "DisplaySettings": {}
    },
    {
      "Name": "MsTestAssemblies",
      "Label": "Test assemblies",
      "HelpText": "A semicolon-separated list of assembly names containing tests. Example: _MyCompany.IntegrationTests.dll; MyCompany.SmokeTests.dll_",
      "DefaultValue": null,
      "DisplaySettings": {}
    }
  ],
  "LastModifiedOn": "2015-04-30T12:44:19.041+00:00",
  "LastModifiedBy": "diuser",
  "$Meta": {
    "ExportedAt": "2015-04-30T12:44:24.644Z",
    "OctopusVersion": "2.6.4.951",
    "Type": "ActionTemplate"
  }
}

{'fraction_non_alphanumeric': 0.18181818181818182, 'fraction_numerical': 0.023484848484848483, 'mean_word_length': 3.521689497716895, 'pattern_counts': {'":': 60, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3927304', 'n_tokens_mistral': 1510, 'n_tokens_neox': 1412, 'n_words': 264}