Skip to content

Commit 1e1c4b7

Browse files
JamesWTruherandyleejordan
authored andcommitted
Restructure of pester test layout
This restructuring moves tests to a directory name which matches the module in which the cmdlet resides which should improve the discoverability of a specific test. For tests which are not about cmdlets in a module, new directories have been created to make those tests easier to find as well
1 parent ef32e23 commit 1e1c4b7

126 files changed

Lines changed: 10 additions & 6 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

test/powershell/CmdletExample.Tests.ps1

Lines changed: 0 additions & 6 deletions
This file was deleted.
File renamed without changes.

test/powershell/ConsoleHost.Tests.ps1 renamed to test/powershell/Host/ConsoleHost.Tests.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using namespace System.Diagnostics
22

33
Describe "ConsoleHost unit tests" -Tag 'Slow' {
4+
45
$powershell = Join-Path -Path $PsHome -ChildPath "powershell"
56

67
Context "CommandLine" {
File renamed without changes.

test/powershell/DotNetAPI.Tests.ps1 renamed to test/powershell/Language/Interop/DotNet/DotNetAPI.Tests.ps1

File renamed without changes.

test/powershell/DotNetInterop.Tests.ps1 renamed to test/powershell/Language/Interop/DotNet/DotNetInterop.Tests.ps1

File renamed without changes.

test/powershell/ComparisonOperator.Tests.ps1 renamed to test/powershell/Language/Operators/ComparisonOperator.Tests.ps1

File renamed without changes.

test/powershell/Import-Module.Tests.ps1 renamed to test/powershell/Modules/Microsoft.PowerShell.Core/Import-Module.Tests.ps1

File renamed without changes.

test/powershell/Remove-Module.Tests.ps1 renamed to test/powershell/Modules/Microsoft.PowerShell.Core/Remove-Module.Tests.ps1

File renamed without changes.

test/powershell/Set-PSDebug.Tests.ps1 renamed to test/powershell/Modules/Microsoft.PowerShell.Core/Set-PSDebug.Tests.ps1

File renamed without changes.

0 commit comments

Comments
 (0)