-
Notifications
You must be signed in to change notification settings - Fork 380
Open
Labels
enhancementNew feature or requestNew feature or request
Description
- Remove all usages of std::fs::* from unit tests
- Don't use FileStorageProvider in unit tests.
- Use either VirtualStorageProvider::new_memory() when no access to existing files is needed, or VirtualStorageProvider::new_overlay() when read access to existing files is needed.
Two optional steps - investigate if it is feasible, if so, then implement:
4. Forbid usage of std::fs::* in Clippy.toml, use FileStorageProvider instead.
5. Put FileStorageProvider behind cfg(not(any(testing,virtual_storage)))
Reactions are currently unavailable
Metadata
Metadata
Labels
enhancementNew feature or requestNew feature or request