Skip to content
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

feat: use SimulationMode instead of OSPlatform #563

Merged
merged 3 commits into from
Apr 15, 2024

Conversation

vbreuss
Copy link
Member

@vbreuss vbreuss commented Apr 15, 2024

Add a SimulationMode enumeration property to the MockFileSystem, so that simulated file systems can be detected at runtime.

Also throw NotSupportedException when wrapping a DirectoryInfo, DriveInfo or FileInfo on a simulated MockFileSystem.

This is a prerequisite for #460.

@vbreuss vbreuss added the enhancement New feature or request label Apr 15, 2024
@vbreuss vbreuss self-assigned this Apr 15, 2024
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@vbreuss vbreuss enabled auto-merge (squash) April 15, 2024 17:32
Copy link

Stryker.NET mutation tested the changes in the pull request:
Mutation testing badge

@vbreuss vbreuss merged commit 2466577 into main Apr 15, 2024
13 checks passed
@vbreuss vbreuss deleted the topic/use-simulation-mode branch April 15, 2024 17:40
Copy link

github-actions bot commented May 5, 2024

This is addressed in release v3.2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request state: released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant