Git Product home page Git Product logo

Comments (3)

vbreuss avatar vbreuss commented on July 3, 2024

Discussion with some arguments started in Testably/Testably.Abstractions#460.

from system.io.abstractions.

markusschaber avatar markusschaber commented on July 3, 2024

Yeah, sorry for distracting you.

I found that the Testably mock file system might be the better way to go, as the TestableIO TestHelpers implementation has lots of small problems and bugs where it shows different behavior than the "real" File System (e. G. IDirectoryInfo.Exists returns true when the path points to a file, etc.) - we have some hundred unit tests which fail or show otherwise strange behavior when running against System.IO.Abstractions.TestingHelpers.MockFileSystem while they work fine against the real System.IO.Abstractions.FileSystem, both on Windows and Linux.

I'm waiting for one of our internal dependencies to update their System.IO.Abstractions to a current release, which allows me to also upgrade, and thus use Testably. (Currently, I get strange errors when I update my code as some types have moved assemblies between System.IO.Abstractions 16.x and TestableIO 20.x.)

Feel free to close the issue on this project. Thank you very much.

Edit: Our tests have been with System.IO.Abstractions version 16.x, which had been pulled in due to a 3rd dependency which has not been updated. It looks like some of the problems have already been fixed with System.IO.Abstractions 20.x. My snarky remark above should not be considered a rant about the quality of this project. :-(

from system.io.abstractions.

vbreuss avatar vbreuss commented on July 3, 2024

Will be implemented in Testably/Testably.Abstractions#460.

from system.io.abstractions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.