Hi *, the class I need to test is:

https://gist.github.com/49ef28014bb648ffa63e

I know my question is very generic, but I honestly fail to see how to test 
something that is so strictly procedural and so dependent to the 
platform/libraries.
Should I mock/stub filesystem, services and pretty much everything that is in 
there and test how it responds to different inputs, or adopt an "integration 
style" ?
How would you proceed in this case ? (you can refer to RSpec book and point to 
parts that are relevant).

  ngw

-- 
[ 926381, 23200231779, 1299022, 1045307475 ].collect { |a| a.to_s( 36 ) }.join( 
" " )
Nicholas Wieland (ngw)
n...@nofeed.org
http://www.nofeed.org

_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to