Commit Graph
41 Commits
Author SHA1 Message Date
Sergio Pedri ddd62ef26c Add .NET 10.0 target frameworks to projects
Updated all main and test project files to include net10.0 (and net10.0-windows10.0.17763.0 where applicable) in their TargetFrameworks. This prepares the codebase for compatibility and testing with the upcoming .NET 10.0 release.
2025-11-11 11:34:21 -08:00
Sergio Pedri 85d26bf421 Update NuGet packages to latest stable 2025-11-10 12:17:43 -08:00
Sergio Pedri 013b10cd71 Update NuGet packages to latest stable 2025-11-10 11:56:58 -08:00
Sergio Pedri 6e83642f07 Enable parallel test execution via shared target
Moved the ParallelizeAttribute configuration from individual test project files to the shared Community.Toolkit.Common.targets file. This centralizes the configuration and ensures all test projects run tests in parallel by default.
2025-11-09 18:48:08 -08:00
Sergio Pedri d2ceba9b14 Enable parallel test execution in MSTest projects
Added the Microsoft.VisualStudio.TestTools.UnitTesting.ParallelizeAttribute to all MSTest-based unit test project files to enable parallel test execution. This change should improve test run performance by allowing tests to run concurrently.
2025-11-09 18:46:37 -08:00
Sergio Pedri 12ae36b594 Refactor unit tests to use new assertion helpers
Replaces usages of Assert.AreEqual, Assert.IsTrue, and similar assertions with new helper methods such as Assert.HasCount, Assert.IsEmpty, Assert.IsNull, and Assert.IsGreaterThanOrEqualTo across multiple test files. This improves test readability and consistency with updated assertion APIs.
2025-11-09 18:34:09 -08:00
Sergio Pedri e88c524c3e Refactor unit tests to use expected-first Assert.AreEqual
Updated all unit tests to consistently use the expected value as the first argument in Assert.AreEqual calls. This improves readability and aligns with best practices for test assertions.
2025-11-09 18:33:21 -08:00
Sergio Pedri 2cf609c877 Update MSTest packages to version 4.0.1 in test projects
Upgraded MSTest.TestAdapter and MSTest.TestFramework from version 3.11.0 to 4.0.1 across all unit test project files to ensure compatibility with the latest features and bug fixes.
2025-11-09 18:30:20 -08:00
Sergio Pedri 2b42d139af Use Assert.ThrowsExactly in unit tests
Replaces usage of Assert.ThrowsException with Assert.ThrowsExactly across multiple unit test files to ensure that tests only pass when the exact exception type is thrown, improving test precision and reliability.
2025-11-07 11:56:48 -08:00
Sergio Pedri 5215c84a7f Update MSTest packages to version 3.11.0 in test projects
Upgrades MSTest.TestAdapter and MSTest.TestFramework from 3.6.4 to 3.11.0 across all unit test project files to ensure compatibility with latest features and bug fixes.
2025-11-06 16:10:55 -08:00
Sergio Pedri 77e0435df0 Bump unit tests from .NET 7 to .NET 9 2025-11-05 12:55:43 -08:00
Sergio Pedri a8aaeb57e9 Update NuGet packages to latest stable 2024-12-05 09:27:31 -08:00
Sergio Pedri a51efde86d Remove .NET 8 TFM from all projects 2024-11-13 08:57:07 -08:00
Sergio Pedri f9c7bc3e87 Update NuGet packages to latest stable 2024-10-27 14:54:54 -07:00
Sergio Pedri a25a8a0c14 Update NuGet packages to latest stable 2024-08-07 22:34:09 -07:00
Sergio Pedri b4cf03ca9a Bump NuGet packages to latest stable 2024-01-20 19:13:42 +01:00
Sergio Pedri af5089801d Add .NET 8 TFM to all projects 2024-01-20 17:27:18 +01:00
Sergio Pedri 77c7ef2b15 Update NuGet packages to latest stable 2023-05-08 12:46:49 +02:00
Sergio Pedri 1537e98edb Bump NuGet packages to latest stable 2023-03-10 01:47:17 +01:00
Sergio Pedri bc740416e2 Update NuGet packages to latest stable releases 2022-12-22 14:13:30 +01:00
Sergio Pedri 1f60a7bd4e Move all source files into src\ subfolder 2022-11-21 17:25:07 +01:00
Sergio Pedri ffb818aa15 Switch .NET Core 3.1 TFM in tests to .NET 7 2022-11-16 01:48:01 +01:00
Sergio Pedri 8730e39067 Bump NuGet packages to latest stable versions 2022-11-15 19:47:43 +01:00
Sergio Pedri 233c4f2421 Update all Roslyn and test SDKs to latest stable 2022-10-04 13:53:37 +02:00
heku 74e24d6b43 Correct a typo in Converters.ToFileSizeString and add unit tests 2022-08-20 23:45:23 +08:00
Nirmal Guru 41abf66445 Update EditorConfig and Git files
- Add default Git attributes.
- Update Git ignores to latest.
- Merge duplicate EditorConfig rules.
- Format projects to EditorConfig rules.
- Fix formatting errors in 'Guard.md' file.
2022-06-11 15:36:02 +02:00
Sergio Pedri 03e85af860 Fix build errors in unit tests 2022-04-06 22:48:56 +02:00
Sergio Pedri 317241bb83 Move collection types to MVVM Toolkit 2022-03-16 15:30:15 +01:00
Sergio Pedri bd4f365f01 Bump NuGet package reference versions 2022-01-13 21:53:49 +01:00
Sergio Pedri 47b32b5953 Update CommunityToolkit.Common to .NET 6 2021-11-22 17:37:20 +01:00
Sergio Pedri 7d68280215 Remove redundant [TestCategory] attributes 2021-11-04 21:48:54 +01:00
Sergio Pedri a5ef60ea4d Enable .NET Standard 2.0 tests through .NET Framework 4.7.2 2021-11-02 02:36:50 +01:00
Sergio Pedri eab4b9ed28 More whitespaces and code style tweaks 2021-11-02 00:28:30 +01:00
Sergio Pedri 9f4c9fad7f Remove unnecessary using directives 2021-11-01 22:14:16 +01:00
Sergio Pedri 58c0dd96c4 Fix namespaces in unit test projects 2021-11-01 22:12:56 +01:00
Sergio Pedri c176080d37 Switch whole solution to file-scoped namespaces 2021-11-01 20:46:46 +01:00
Sergio Pedri 7a2295b03c Update some code style rules
In particular:
- Use explicit types everywhere to improve clarity
- Use target-typed new() expression when target is explicit
- Use explicit discard for value-returning statements
2021-11-01 20:34:00 +01:00
Sergio Pedri 11ab330e69 Enable nullability annotations in the entire solution 2021-11-01 19:27:55 +01:00
Sergio Pedri 25879bbaa4 Update NuGet packages in the solution 2021-11-01 19:01:04 +01:00
Sergio Pedri 8b7c87284b Update namespaces from Microsoft.Toolkit to CommunityToolkit 2021-11-01 17:22:05 +01:00
Sergio Pedri b498321331 Rename folders/projects from Microsoft.Toolkit to CommunityToolkit 2021-11-01 17:07:47 +01:00