Migrates to Pester5+ tests (#59)

#### 📖 Summary

- update Pester tests to Pester5+ compatiple layout
- switch to dotnet base imaged
  - dotnet binary required for publishung powershell modules (Publish-Module)

#### 📑 Test Plan

> 💡 Select your test plan for the code changes.

- [x] Tested via Drone.io pipeline
- [ ] Custom test
- [ ] No test plan

##### Details / Justification

<!-- Add your test details or justification for missing tests here. -->

#### 📚 Additional Notes

<!-- A place for additional detail notes. -->

Co-authored-by: OCram85 <marco.blessing@googlemail.com>
Reviewed-on: OCram85/PSCredentialStore#59
This commit is contained in:
2022-07-14 13:37:12 +02:00
parent e3404666d4
commit d4b00a5308
31 changed files with 636 additions and 333 deletions

View File

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