Filewatcher File Search File Search
Catalog
Content Search
» » » » »

ruby-fakefs

Fake file system to be used in unit tests

FakeFS allows you to unit-test file system calls without actually touching the file system. File, Dir and FileUtils calls are redirected to a fake file system without requiring to use any mocking library thus making it faster and easier to test file system calls.
Homepage:
Package version:0.4.0-1
Architecture:all
Distribution:Debian
Filename:ruby-fakefs_0.4.0-1_all.deb

/usr/share/doc/ruby-fakefs/README.markdown

FakeFS
======

Mocha is great. But when your library is all about manipulating the
filesystem, you really want to test the behavior and not the implementation.

If you're mocking and stubbing every call to FileUtils or File, you're
tightly coupling your tests with the implementation.

    def test_creates_directory
      FileUtils.expects(:mkdir).with("directory").once
      Library.add "directory
more»

/usr/share/doc/ruby-fakefs/changelog.Debian.gz

ruby-fakefs (0.4.0-1) unstable; urgency=low

  * Renamed/repackaged following pkg-ruby-extras' group policies
  * New upstream version
  * Added myself as an uploader

 -- Gunnar Wolf <gwolf@debian.org>  Tue, 22 Nov 2011 18:19:23 -0600

libfakefs-ruby (0.2.1-2) unstable; urgency=low

  * Switched to new gemwatch location
  * Load tests with absolute path - Ruby 1.9.2 doesn't include '.' in it's
  
more»

/usr/share/doc/ruby-fakefs/copyright

Format: http://dep.debian.net/deps/dep5
Upstream-Name: fakefs
Source: http://github.com/defunkt/fakefs

Files: *
Copyright: © 2009 Chris Wanstrath <chris@ozmm.org>
License: MIT

Files: debian/*
Copyright: © 2010 Tobias Grimm <etobi@debian.org>
           © 2011 Gunnar Wolf <gwolf@debian.org>
License: GPL-2+

License: MIT
 Permission is hereby granted, free of charge, to any person obtaining
 a 
more»

Browse inside ruby-fakefs_0.4.0-1_all.deb

         [DIR]DEBIAN/ (2)  65535+ mirrors
         [DIR]usr/ (2)  65535+ mirrors

Download ruby-fakefs_0.4.0-1_all.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com