Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@
]
},
"demaconsulting.reviewmark": {
"version": "1.2.0",
"version": "1.3.1",
"commands": [
"reviewmark"
]
},
"demaconsulting.fileassert": {
"version": "0.5.0",
"version": "0.5.1",
"commands": [
"fileassert"
]
Expand Down
8 changes: 4 additions & 4 deletions docs/reqstream/ots/fileassert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,17 @@ sections:
justification: |
File existence assertions via glob patterns are the core use case for
FileAssert in the SarifMark pipeline. The self-validation test
FileAssert_Exists confirms file existence assertion works correctly.
FileAssert_File confirms file existence assertion works correctly.
tags: [ots]
tests:
- FileAssert_Exists
- FileAssert_File

- id: SarifMark-OTS-FileAssert-Contains
title: FileAssert shall verify file content with contains assertions.
justification: |
Content assertions confirm that generated documents contain expected text.
The self-validation test FileAssert_Contains confirms content assertion
The self-validation test FileAssert_Text confirms content assertion
works correctly in the installed environment.
tags: [ots]
tests:
- FileAssert_Contains
- FileAssert_Text
8 changes: 4 additions & 4 deletions docs/verification/ots/fileassert.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ assertions that produce pass and fail outcomes and writes results to a TRX file,
result file generation with mixed outcomes works correctly.
This scenario is tested by `FileAssert_Results`.

**FileAssert_Exists**: The `FileAssert_Exists` self-validation scenario runs a file
**FileAssert_File**: The `FileAssert_File` self-validation scenario runs a file
existence assertion via glob pattern and confirms the assertion passes when the expected
file is present.
This scenario is tested by `FileAssert_Exists`.
This scenario is tested by `FileAssert_File`.

**FileAssert_Contains**: The `FileAssert_Contains` self-validation scenario runs a content
**FileAssert_Text**: The `FileAssert_Text` self-validation scenario runs a content
assertion that checks a file contains expected text and confirms the assertion passes when
the content is present.
This scenario is tested by `FileAssert_Contains`.
This scenario is tested by `FileAssert_Text`.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.Sbom.Targets" Version="4.1.5" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="10.0.300" PrivateAssets="All" />
<PackageReference Include="Polyfill" Version="10.10.0" PrivateAssets="All" />
<PackageReference Include="Polyfill" Version="10.11.0" PrivateAssets="All" />
</ItemGroup>

<!-- Code Analysis Dependencies -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.6.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.7.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
Expand Down
Loading