Commit Graph

30 Commits

Author SHA1 Message Date
Oliver Booth 2c01b0e23a
build: remove Debug properties in test csproj
I believe these properties to be the cause of an issue with symbol verification when publishing X10D to nuget.org. I will report with status after this nightly run.
2023-04-02 15:53:54 +01:00
Oliver Booth daff6ee3fe
fix: suppress .NET analyzer for test project 2023-04-02 03:31:37 +01:00
Oliver Booth bf73ecce32
test: add unit tests for ServiceCollectionExtensions 2023-04-02 03:31:19 +01:00
Oliver Booth bfd3a5663d
[ci skip] ci: enable .NET analyzers for all projects 2023-04-02 01:11:14 +01:00
Oliver Booth 427563bfdb
[ci skip] test: CollectCoverage:true 2023-04-02 01:07:01 +01:00
Oliver Booth e5ec06cfe5
[ci skip] test: output debug symbols 2023-04-02 01:06:38 +01:00
Oliver Booth 35113fac27
test: run tests for .NET 7, 6, and Core 3.1
.NET Core 3.1 allows testing of the .NET Standard 2.1 implementation of X10D
2023-04-01 17:05:46 +01:00
Oliver Booth 62034ded75
style(test): segment methods to partials
This changes introduces the Moq package to create mocked objects implementing IDisposable, rather than defining a concrete class.
2023-03-31 20:21:17 +01:00
Oliver Booth 9ee99d72d3
[ci skip] style: upgrade projects to C# 11
NB: While using a higher C# version with lower framework version is possible, it's generally advised against because C# syntax may map to .NET types not available in older versions such as .NET Standard 2.1.

This change does not invite the codebase to upgrade to newer types, but rather take advantage of syntax sugar (such as file-scoped namespaces, when this project was updated to C# 10) that does not effect the compiled result.

However, this change does open up the possibilities to add extension methods for the "generic math" interfaces (made possible by static interface members), and these upcoming methods will be targeted to .NET 7 or greater **ONLY**.
2023-03-31 17:30:30 +01:00
Oliver Booth f5b53cd3f6
[ci skip] test: remove netstandard2.1 from test csproj 2023-03-29 17:55:00 +01:00
Oliver Booth 55cae2f454
test: update test project dependencies
- Microsoft.NET.Test.Sdk 17.5.0
- MSTest.* 3.0.2
- coverlet.collector 3.2.0
2023-03-28 14:54:11 +01:00
Oliver Booth 271305b056
Add .NET 7 target 2022-11-29 15:51:22 +00:00
Oliver Booth ed2920f8a0
Multi-target X10D.Tests 2022-05-07 23:16:06 +01:00
Oliver Booth 0f40bb2e31
[ci skip] Update MSTest 2.2.10 2022-04-29 11:24:56 +01:00
Oliver Booth 4c81c218d5
Remove preview features 2022-04-20 17:34:49 +01:00
Oliver Booth 950c30f267
Update MSTest and Test SDK 2022-04-20 17:33:22 +01:00
Oliver Booth 54848848ac Enable implicit usings in tests csproj 2022-02-14 12:20:55 +00:00
Oliver Booth 375a382e1b Bump to .NET 6, bump dependency versions 2022-02-14 12:18:35 +00:00
Oliver Booth 093a504467 Remove CA ruleset enforcement 2022-02-14 12:17:49 +00:00
Oliver Booth 3257428fad Enable preview features in Tests csproj 2022-02-14 12:17:08 +00:00
Oliver Booth 920fadf639 Remove X10D.Unity dependency from Tests csproj 2022-02-14 12:16:28 +00:00
Oliver Booth 09e126fa08
Add IsPrime tests 2021-07-20 14:47:33 +01:00
Oliver Booth 1443d7d4cf Update X10D.Unity to 2020.3.12.f1 LTS 2021-06-27 12:20:51 +01:00
Oliver Booth 188d662452 Update Tests project to .NET 5 2021-06-27 12:19:51 +01:00
Oliver Booth 937d701d14 Remove ruleset and unused analyzers 2021-03-07 18:00:17 +00:00
Oliver Booth 5bc71bd426 Add X10D.Unity 2020-07-15 14:33:40 +01:00
Oliver Booth 36d3014573
⚠ Treat warnings as errors 2020-04-21 03:45:02 +01:00
Oliver Booth 4df2543181
Add Roslynator.Analyzers 2020-04-19 14:31:29 +01:00
Oliver Booth b1a69a7711
🔨 Add code analysis ruleset 2020-04-19 14:10:42 +01:00
Oliver Booth 686b915be8
Add MSTests project 2020-04-18 14:41:53 +01:00