Migrates to Pester5+ tests #59

Merged
OCram85 merged 47 commits from Pester5 into master 2022-07-14 13:37:13 +02:00
2 changed files with 13 additions and 7 deletions
Showing only changes of commit bf5490205d - Show all commits

View File

@ -36,7 +36,7 @@ steps:
pwsh -NonInteractive -c "& { pwsh -NonInteractive -c "& {
Import-Module './tools/DroneIO.psm1'; Import-Module './tools/DroneIO.psm1';
Invoke-InstallDependencies; Invoke-InstallDependencies;
Invoke-UnitTest -Verbosity 'Normal' -ErrorAction 'Stop' Invoke-UnitTest -Verbosity 'Normal' -ExcludeTag @( 'Integration', 'Disabled') -ErrorAction 'Stop'
}" }"
- name: Coverage - name: Coverage

View File

@ -11,22 +11,28 @@
<ListEntry> <ListEntry>
<ListItems> <ListItems>
<ListItem> <ListItem>
<PropertyName>Country</PropertyName> <Label>Country</Label>
<ScriptBlock>$_.Subject.Country</ScriptBlock>
</ListItem> </ListItem>
<ListItem> <ListItem>
<PropertyName>State</PropertyName> <Label>State</Label>
<ScriptBlock>$_.Subject.State</ScriptBlock>
</ListItem> </ListItem>
<ListItem> <ListItem>
<PropertyName>City</PropertyName> <Label>City</Label>
<ScriptBlock>$_.Subject.City</ScriptBlock>
</ListItem> </ListItem>
<ListItem> <ListItem>
<PropertyName>Organization</PropertyName> <Label>Organization</Label>
<ScriptBlock>$_.Subject.Organization</ScriptBlock>
</ListItem> </ListItem>
<ListItem> <ListItem>
<PropertyName>OrganizationalUnitName</PropertyName> <Label>OrganizationalUnitName</Label>
<ScriptBlock>$_.Subject.OrganizationalUnitName</ScriptBlock>
</ListItem> </ListItem>
<ListItem> <ListItem>
<PropertyName>CommonName</PropertyName> <Label>CommonName</Label>
<ScriptBlock>$_.Subject.CommonName</ScriptBlock>
</ListItem> </ListItem>
</ListItems> </ListItems>
</ListEntry> </ListEntry>