Refactor: Expanded Testing Project Structure#334
Merged
Merged
Conversation
- Introduced grouping in `dependabot.yml` configuration: - Grouped `.NET` packages into logical categories (`TUnit`, `Serilog`, `Microsoft.Extensions`). - Simplified structure for clearer management of dependencies.
… project structure - Deleted unused `FileUtility` class. - Replaced `SkipUtility` attributes with new concise `SkipOnLinux`, `SkipOnMacOs`, `SkipOnWindows`, and related attributes. - Updated `InfiniFrameWindowTestUtility` to `InfiniFrameTestWindow` and `InfiniFrameServerTestUtility` to `InfiniFrameTestServer`. - Introduced `DefaultInfiniTestsTimeoutAttribute` and `NotInParallelInfiniTestsAttribute` for timeout and parallel testing control. - Consolidated `TestDoubles` into `Substitutes` and streamlined related namespace references.
…eb asset and update project references in the testing project.
…Windows, macOS, and Linux, and refactor `Create` to delegate platform initialization to partial methods. Simplify test utilities and improve cross-platform consistency.
…ility for better consistency, and restructure tests directory. - Added comprehensive test coverage for `Managed` components. - `NativeRectTests` - `NativeMonitorTests` - `CustomSchemeNameMemoryTests` - `InfiniFrameNativeParametersTests` - `InfiniFrameNativeParametersMarshallerTests` - Renamed `InfiniFrame.Native` to `InfiniFrame.NativeBridge` in `InternalsVisibleTo`. - Restructured test project folders to align with `Managed` and `Parameters` namespaces. - Updated project references to include `InfiniFrame.NativeBridge`.
…file name resolution - Implemented comprehensive unit tests for `ArtifactManifest`. - Validates native library file names across platforms (Windows, Linux, macOS). - Ensures correct loader file names and platform extensions. - Added coverage for `ResolveNativeLibraryFileNameForCurrentPlatform` and `RequiredFileNamesForCurrentPlatform`. - Verified naming consistency, extension correctness, and file name uniqueness.
…d `KeyedResultEvent` - Removed outdated unit tests for `OrderedEvent` in `Utilities`. - Added new test suites under `Shared.Events`: - `OrderedEventTests` for improved handler and invocation validation. - `OrderedEventWithPayloadTests` for payload-specific scenarios. - `KeyedResultEventTests` for key-based handler registration and invocation. - Resolved namespace inconsistencies across test files (`Utilities`, `NativeBridge` → `Shared`). - Simplified and centralized `SynchronousTaskScheduler` logic. - Cleaned up unused project references and improved directory organization for `InfiniTests.*` projects.
…s, and add comprehensive test coverage - Renamed `TitleStringHelper` to `TitleStringUtility` and updated all references. - Reorganized `Utils` to `Utilities` in `BlazorWebView` for consistency. - Removed unused `InvokeAndReturn<T>(IInfiniFrameWindow, Func<IntPtr, T>)`. - Added test suites: - `TitleStringUtilityTests` for validation and default title logic. - `CallbackTaskCompletionSource` and `SynchronousTaskScheduler` tests under `Utilities`. - `ExceptionsUtilityTests` to validate fatal and non-fatal exception categorization. - `InvokeUtilityTests` to ensure proper handling of synchronous invocations. - Updated test projects' folder structure to align with the latest naming conventions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Type of Change
Affected Modules / Scope
Changes Introduced
Related Issues
Checklist
📖 Additional Context