Operation-Validation-Framework icon indicating copy to clipboard operation
Operation-Validation-Framework copied to clipboard

Get-operationValidation -modulename <Path> doesn't scope as expected

Open AspenForester opened this issue 7 years ago • 0 comments

Current Behavior

Get-OperationValidation -path . checks any child directories in the current directory for the presence of a Diagnostics directory therein. Get-OperationValidation -path .\MyModule does NOT seem to check in MyModule for the presence of a Diagnostics directory.

Expected Behavior

It seems more consistent with PowerShell to accept being pointed to a specific Module directory (.\MyModule), and return the info for the tests found within .\MyModule\Diagnostics.

Context

Developing tests in modules not in the $PSModulePath.

Your Environment

  • Module version used: 2.2.1
  • Operating System and PowerShell version: Win10 1709 PowerShell 5.1

AspenForester avatar Jun 25 '18 17:06 AspenForester