Bump tools#94
Merged
Merged
GitHub Actions / unit test results
succeeded
Jun 21, 2025 in 0s
63 passed, 0 failed and 0 skipped
✅ /home/runner/work/pkgchk-cli/pkgchk-cli/tests/pkgchk-cli.tests/TestResults/test_results.trx
63 tests were completed in 7s with 63 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| pkgchk.tests.ConsoleTests | 18✅ | 4s | ||
| pkgchk.tests.GithubCommentTests | 1✅ | 425ms | ||
| pkgchk.tests.GithubTests | 6✅ | 775ms | ||
| pkgchk.tests.MarkdownTests | 7✅ | 4s | ||
| pkgchk.tests.ScaArgsTests | 12✅ | 11ms | ||
| pkgchk.tests.ScaHitTests.ScaHit | 1✅ | 4ms | ||
| pkgchk.tests.ScaTests | 14✅ | 6s | ||
| pkgchk.tests.StringsTests | 4✅ | 109ms |
✅ pkgchk.tests.ConsoleTests
✅ formatProject returns yellow
✅ formatSeverities produces severities
✅ formatSeverity returns colouration(value: "", expected: "yellow")
✅ formatSeverity returns colouration(value: "Critical", expected: "italic red")
✅ formatSeverity returns colouration(value: "High", expected: "red")
✅ formatSeverity returns colouration(value: "Moderate", expected: "#d75f00")
✅ formatSeverity returns colouration(value: "Unknown", expected: "yellow")
✅ hitAdvisory on empty advisoryUri produces empty set
✅ hitAdvisory produces appropriate rows
✅ hitPackage produces nuget link
✅ hitSummaryRow yields formatted values
✅ hitSummaryRow yields non-empty values
✅ hitSummaryTable produces table containing row
✅ nugetLinkPkgSuggestion produces link
✅ nugetLinkPkgVsn produces link
✅ table produces console table
✅ tableColumn produces columns
✅ title returns appropriate title
✅ pkgchk.tests.GithubCommentTests
✅ create produces comment
✅ pkgchk.tests.GithubTests
✅ getIssueComments on empty issue returns empty comments
✅ getIssueComments on issue returns comments
✅ getIssueComments on no issue returns empty comments
✅ repo constructs owner/repo
✅ setPrComment exosting comment invokes update
✅ setPrComment new comment invokes create
✅ pkgchk.tests.MarkdownTests
✅ colourise projects colour & value
✅ formatReasonColour projects colour and value
✅ formatSeverity projects emote, colour and value
✅ formatSeverityColour projects colour and value
✅ nugetLinkPkgSuggestion builds markdown link
✅ nugetLinkPkgVsn builds markdown link
✅ title returns appropriate title
✅ pkgchk.tests.ScaArgsTests
✅ Dependencies with project(project: "", transitives: False)
✅ Dependencies with project(project: "", transitives: True)
✅ Dependencies with project(project: "test.csproj", transitives: False)
✅ Dependencies with project(project: "test.csproj", transitives: True)
✅ Deprecations with project(project: "", transitives: False)
✅ Deprecations with project(project: "", transitives: True)
✅ Deprecations with project(project: "test.csproj", transitives: False)
✅ Deprecations with project(project: "test.csproj", transitives: True)
✅ Vulnerabilities with project(project: "", transitives: False)
✅ Vulnerabilities with project(project: "", transitives: True)
✅ Vulnerabilities with project(project: "test.csproj", transitives: False)
✅ Vulnerabilities with project(project: "test.csproj", transitives: True)
✅ pkgchk.tests.ScaHitTests.ScaHit
✅ empty returns empty
✅ pkgchk.tests.ScaTests
✅ hitCountSummary on deprecated produces counts
✅ hitCountSummary on vulnerable produces counts
✅ hitsByLevels by unknown severities returns empty
✅ hitsByLevels deprecated by known reasons returns hits
✅ hitsByLevels on empty returns empty
✅ hitsByLevels vulnerable by known severities returns hits
✅ parsePackageTree for dependencies
✅ parsePackageTree for empty results
✅ parsePackageTree of plain text(text: " ")
✅ parsePackageTree of plain text(text: "ABC")
✅ parseVulnerabilities for empty results
✅ parseVulnerabilities for vulnerabilities
✅ parseVulnerabilities of plain text(text: " ")
✅ parseVulnerabilities of plain text(text: "ABC")
✅ pkgchk.tests.StringsTests
✅ join conjugates strings
✅ joinPretty has correct intermediary separators
✅ joinPretty has correct last separator
✅ joinPretty has correct value count
Loading