This is an overview of the provided examples for "Testably.Abstractions".
-
Configuration
This example illustrates how the testing libraries can be configured in unit tests. -
Thread-aware time provider
The default implementation of theITimeProvideruses aDateTimeproperty to simulate the current time, that is advanced with everyThread.SleeporTask.Delaycall. In a scenario with multiple threads running in parallel, these would each influence each other differently in the mocked instance than "in the real world".
This example illustrates how to implement a thread-aware time provider for such a scenario. -
Zip-File
This example highlights how to use theIFileSystemto compress and uncompress directories usingSystem.IO.Compression.