Ben Mabey wrote:
> Hey all,
> Has any one ever tested or try to test c code with rspec? I am using
> system calls to my compiled c program and testing against the standard
> output but I would like to get a lot more granular than this. I have
>
I've specified Ruby C extensions using RSpec, b
Ben Mabey wrote:
> Hey all,
> Has any one ever tested or try to test c code with rspec? I am using
> system calls to my compiled c program and testing against the standard
> output but I would like to get a lot more granular than this. I have
> experimented with using RubyInline to test indivi
Hey all,
Has any one ever tested or try to test c code with rspec? I am using
system calls to my compiled c program and testing against the standard
output but I would like to get a lot more granular than this. I have
experimented with using RubyInline to test individual functions and that
wo
I've got a spec that loads a fixture in the "before" block. This works
fine running scripts/spec, but when I run rake spec instead, I get:
ActiveRecord::StatementInvalid in 'User in fixture :quentin with an IM
service but no IM name should be invalid'
Mysql::Error: Cannot delete or update a par
On Aug 26, 2007, at 7:22 PM, Michael Klishin wrote:
> Seems that the assertion itself is just obvious
>
> lambda { ... }.should_not raise_error ...
>
> But given the fact environment.rb is loaded well before examples are
> run, is it worth the effort it may take to spec out Rails bootstrap
> pr
Seems that the assertion itself is just obvious
lambda { ... }.should_not raise_error ...
But given the fact environment.rb is loaded well before examples are
run, is it worth the effort it may take to spec out Rails bootstrap process?
Sorry if I do not get your question.
Scott Taylor wrote:
>
How would one write a spec on environment.rb in a rails app?
I was requiring a gem in environment.rb, but received a
"MissingSourceError". Generally, ruby raises a LoadError when it
can't find a gem, but rails overrides this to raise a
MissingSourceError (since rails is expecting a require
plus for a rails app that uses rspec, there's the caboose sample app:
http://blog.caboo.se/pages/sample-rails-application
On 26 Aug 2007, at 11:24, Michael Klishin wrote:
> RSpec itself is a nice example of pretty large open source project
> that
> uses RSpec for testing ;)
>
> It's a general
RSpec itself is a nice example of pretty large open source project that
uses RSpec for testing ;)
It's a general problem in TDD/BDD worlds: what to test and how to keep
it maintainable. I'd recommend reading mockobjects.com.
Priit Tamboom wrote:
> Hi!
>
> Can anybody link to some ror based pro
Hi!
Can anybody link to some ror based project what is using rspec, so
nuby as me can learn from it. So it should have updated and practising
advanced rspec.
After reading last threat about "testing behaviour or testing code?",
I just realised that I would definitely learn something from app like
10 matches
Mail list logo