Skip to content

test(filter): run a TimeOnly filter on the .NET 6 runtime - #200

Merged
pdevito3 merged 1 commit into
mainfrom
test/net6-timeonly
Oct 9, 2026
Merged

pdevito3 merged 1 commit into
mainfrom
test/net6-timeonly

Conversation

@pdevito3

@pdevito3 pdevito3 commented Oct 9, 2026

Copy link
Copy Markdown
Owner

The fix for a TimeOnly value on net6.0 (#176) had no test, because every test project runs on net10.0. QueryKit.Net6Tests runs the net6.0 build of QueryKit on the .NET 6 runtime. The Unit Tests workflow installs the .NET 6 runtime and runs this project. The project is not in QueryKit.sln, so dotnet test at the root does not need the .NET 6 runtime.

Without the #176 fix, both filter tests fail with ArgumentNullException: Value cannot be null. (Parameter 'constructor').

The fix for a TimeOnly value on net6.0 (#176) had no test, because every test project runs on net10.0. QueryKit.Net6Tests runs the net6.0 build of QueryKit on the .NET 6 runtime. The Unit Tests workflow installs the .NET 6 runtime and runs this project. The project is not in QueryKit.sln, so dotnet test at the root does not need the .NET 6 runtime.

Without the #176 fix, both filter tests fail with ArgumentNullException: Value cannot be null. (Parameter 'constructor').
@pdevito3
pdevito3 merged commit 1bce657 into main Oct 9, 2026
2 checks passed
@pdevito3
pdevito3 deleted the test/net6-timeonly branch October 9, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant