Skip to content

Commit

Permalink
(maint) Add tags for each PowerShell Cmdlet test
Browse files Browse the repository at this point in the history
As a small convenience, to allow us to run tests for an invididual
cmdlet when doing development testing.
  • Loading branch information
vexx32 committed Oct 2, 2024
1 parent 8fc766e commit 7106214
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Describe 'Get-EnvironmentVariable helper function tests' -Tags Cmdlets {
Describe 'Get-EnvironmentVariable helper function tests' -Tags Cmdlets, GetEnvironmentVariable {
BeforeAll {
Initialize-ChocolateyTestInstall

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Describe 'Get-EnvironmentVariable helper function tests' -Tags Cmdlets {
Describe 'Get-EnvironmentVariable helper function tests' -Tags Cmdlets, GetEnvironmentVariableNames {
BeforeAll {
Initialize-ChocolateyTestInstall

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Describe 'Install-ChocolateyPath helper function tests' -Tags Cmdlets {
Describe 'Install-ChocolateyPath helper function tests' -Tags Cmdlets, InstallChocolateyPath {
BeforeAll {
Initialize-ChocolateyTestInstall

Expand Down Expand Up @@ -55,7 +55,7 @@
}
}

Describe 'Install-ChocolateyPath end-to-end tests with add-path package modifying <Scope> PATH' -Tags Cmdlet -ForEach @(
Describe 'Install-ChocolateyPath end-to-end tests with add-path package modifying <Scope> PATH' -Tags Cmdlet, InstallChocolateyPath -ForEach @(
@{ Scope = 'User' }
@{ Scope = 'Machine' }
) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Describe 'Set-EnvironmentVariable helper function tests' -Tags Cmdlets {
Describe 'Set-EnvironmentVariable helper function tests' -Tags Cmdlets, SetEnvironmentVariable {
BeforeAll {
Initialize-ChocolateyTestInstall

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Describe 'Test-ProcessAdminRights helper function tests' -Tags Cmdlets {
Describe 'Test-ProcessAdminRights helper function tests' -Tags Cmdlets, TestProcessAdminRights {
BeforeAll {
Initialize-ChocolateyTestInstall

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Describe 'Uninstall-ChocolateyPath helper function tests' -Tags Cmdlets {
Describe 'Uninstall-ChocolateyPath helper function tests' -Tags Cmdlets, UninstallChocolateyPath {
BeforeAll {
Initialize-ChocolateyTestInstall

Expand Down Expand Up @@ -40,7 +40,7 @@
}
}

Describe 'Uninstall-ChocolateyPath end-to-end tests with add-path package' -Tags Cmdlet -ForEach @(
Describe 'Uninstall-ChocolateyPath end-to-end tests with add-path package' -Tags Cmdlet, UninstallChocolateyPath -ForEach @(
@{ Scope = 'User' }
@{ Scope = 'Machine' }
) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Describe 'Update-SessionEnvironment helper function tests' -Tag Cmdlets {
Describe 'Update-SessionEnvironment helper function tests' -Tag Cmdlets, UpdateSessionEnvironment {
BeforeAll {
Initialize-ChocolateyTestInstall

Expand Down

0 comments on commit 7106214

Please sign in to comment.