-
-
Notifications
You must be signed in to change notification settings - Fork 10
fix: compile errors in Examples.sln #822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR migrates test projects from FluentAssertions and AutoFixture to aweXpect for assertion testing across multiple example projects. The primary goal is to fix compile errors in Examples.sln by updating testing dependencies and assertion syntax.
Key changes:
- Replaced FluentAssertions and AutoFixture.Xunit2 with aweXpect assertion library
- Updated package references in Directory.Build.props to include aweXpect packages
- Converted synchronous test methods to async Task methods to support aweXpect's async assertions
Reviewed Changes
Copilot reviewed 11 out of 13 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| Examples/Directory.Build.props | Updated package references from AutoFixture.Xunit3 to aweXpect and aweXpect.Testably |
| Examples/ZipFile/ZipFile.Tests/ZipFileHelperTests.cs | Migrated from FluentAssertions to aweXpect assertions, replaced AutoData with InlineData |
| Examples/ThreadAwareTimeProvider/ThreadAwareTimeProvider.Tests/ThreadAwareTimeProviderTests.cs | Converted to async methods with aweXpect assertions and added cancellation token support |
| Examples/SafeFileHandle/SafeFileHandle.Tests/SafeFileHandleTests.cs | Updated assertions and test attributes, replaced Skip.If with Skip.Test |
| Examples/FileSystemWatcher/FileSystemWatcher.Tests/FileSystemWatcherTests.cs | Migrated to async aweXpect assertions with cancellation token usage |
| Examples/DriveManagement/DriveManagement.Tests/DriveManagementTests.cs | Converted assertions and restructured exception testing using aweXpect patterns |
| Examples/Configuration/FileSystemConfiguration.Tests/NotificationTests.cs | Updated to async methods with aweXpect assertions and cancellation tokens |
| Examples/Configuration/FileSystemConfiguration.Tests/InterceptionTests.cs | Migrated assertions and removed AutoFixture dependency |
| Examples/Configuration/FileSystemConfiguration.Tests/InitializationTests.cs | Converted to aweXpect assertions and simplified test data setup |
| Examples/Configuration/DependencyInjection.Tests/DependencyInjectionTests.cs | Updated type assertions using aweXpect syntax |
| Examples/AccessControlLists/AccessControlLists.Tests/AccessControlListTests.cs | Migrated assertions and exception testing to aweXpect patterns |
Files not reviewed (2)
- Examples/.idea/.idea.Examples/.idea/.gitignore: Language not supported
- Examples/.idea/.idea.Examples/.idea/indexLayout.xml: Language not supported
|
This PR migrates test projects from FluentAssertions and AutoFixture to aweXpect for assertion testing across multiple example projects. The primary goal is to fix compile errors in Examples.sln by updating testing dependencies and assertion syntax. ### Key changes: - Replaced FluentAssertions and AutoFixture.Xunit2 with aweXpect assertion library - Updated package references in Directory.Build.props to include aweXpect packages - Converted synchronous test methods to async Task methods to support aweXpect's async assertions
|
This is addressed in release v4.3.0. |



This PR migrates test projects from FluentAssertions and AutoFixture to aweXpect for assertion testing across multiple example projects. The primary goal is to fix compile errors in Examples.sln by updating testing dependencies and assertion syntax.
Key changes: