Files
poli0981andClaude Opus 5.5 f257ec9393 test: property-based tests with FsCheck
FsCheck runs each property on 500 random inputs and reports the smallest one that fails:
- the checksum parser accepts any text (random and checksum-shaped lines) without throwing, and whatever it accepts
  is a hexadecimal digest of the algorithm's length;
- GNU (with backslashes and line breaks in names), BSD and SFV files read back exactly what ChecksumWriter wrote;
- ChecksumEntry.ResolvePath never returns a network or device path and refuses names starting with // or \;
- HashMatcher ignores letter case, spaces and a 0x prefix, rejects wrong lengths and non-hex digits, and accepts the
  reversed CRC32 that Hash Tool 1.1 wrote;
- TextHashing writes every line break the chosen way.

OpenSSF Scorecard counts FsCheck as fuzzing. FsCheck (BSD-3-Clause) is a test-only dependency, updated by Dependabot
with the other test packages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 09:17:31 +07:00

64 lines
2.3 KiB
YAML

version: 2
updates:
# Projects, Directory.Packages.props and the tools in .config/dotnet-tools.json (Dependabot only looks for the tool
# manifest there, not in the repository root).
- package-ecosystem: nuget
directory: /
schedule:
interval: weekly
day: monday
# Wait a week after a release before proposing it (security updates are not delayed).
cooldown:
default-days: 7
open-pull-requests-limit: 10
# The upgrade gate deliberately pins the Velopack library that Hash Tool 1.1.x shipped.
exclude-paths:
- "tests/Compat/**"
groups:
avalonia:
patterns: ["Avalonia*", "Material.Icons*"]
microsoft:
patterns: ["Microsoft.Extensions.*", "System.*"]
tests:
patterns: ["xunit*", "Microsoft.Testing.*", "BenchmarkDotNet*", "dotnet-coverage", "FsCheck*"]
# vpk packs the releases that the Velopack library in the app installs: keep both on the same version.
velopack:
patterns: ["Velopack", "vpk"]
ignore:
# xunit.v3 4.x breaks Avalonia.Headless.XUnit (AvaloniaUI/Avalonia#22072).
- dependency-name: "xunit.v3*"
update-types: ["version-update:semver-major"]
# These follow the .NET major version the app targets (.NET 10 LTS); move them together with the SDK.
- dependency-name: "Microsoft.Extensions.*"
update-types: ["version-update:semver-major"]
- dependency-name: "System.IO.Hashing"
update-types: ["version-update:semver-major"]
- dependency-name: "System.CommandLine"
update-types: ["version-update:semver-major"]
- package-ecosystem: dotnet-sdk
directory: /
schedule:
interval: weekly
day: monday
# Wait a week after a release before proposing it (security updates are not delayed).
cooldown:
default-days: 7
ignore:
# Stay on .NET 10 (LTS) until the move to a new major version is made on purpose.
- dependency-name: "dotnet-sdk"
update-types: ["version-update:semver-major"]
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
day: monday
# Wait a week after a release before proposing it (security updates are not delayed).
cooldown:
default-days: 7
groups:
actions:
patterns: ["*"]