Allow selection of os dependent FS semantics #1091
Labels
state: needs discussion
Issues that need further discussion
type: enhancement
Issues that propose new functionality
Is your feature request related to a problem? Please describe.
Our CI pipeline currently is Linux only, but we also want to unit test our code which handles windows paths. On the other hand, our dev machines are mostly windows, so it's hard to test/debug Linux specific path handling.
Describe the solution you'd like
An option when constructing the MockFileSystem to choose to emulate Window/Linux/MacOS behaviour (the default would be determined from the current platform, as it is now.)
Describe alternatives you've considered
I tried the Testably.Abstractions Mock File System, they also don't support choosing of the semantics to emulate.
Additional context
The text was updated successfully, but these errors were encountered: