mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
Added module win_pester and relatives integration tests (#37343)
* Added module win_pester and relatives integration tests * Corrected issues as stated by ansible-test * Added defaults variable in integration tests * Added task to install Pester if needed in the integration test * Corrected error in win_psmodule task * Added Pester installation with Chocolatey when Powershell version < 5 * Get facts... * Disabled invoke-pester output * Added pester_result type * Added jhawkesworth changes proposal * Corrected documentation linting * Corrected linting * Added dagwieers recommendations * Added dagwieers recommendations * Corrected linting errors and task error in integration test * Corrected error in integration test * Added dagwieers recommendations * Corrected requirements in the DOCUMENTATION block
This commit is contained in:
parent
fc7a68875a
commit
49aac5f8c7
7 changed files with 313 additions and 0 deletions
|
@ -0,0 +1,5 @@
|
|||
Describe -Name 'Test01' {
|
||||
It -name 'First Test' {
|
||||
{Get-Service} | Should Not Throw
|
||||
}
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
Describe -Name 'Test02' {
|
||||
It -name 'Second Test' {
|
||||
{Get-Service} | Should Throw
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue