On Mon 20 Jun 2011 04:41:41 PM PDT, Kazunori Kimura wrote:
> NoMethodError: undefined method `setup' for #<Class:0x7f5230a464e0>
>
> I check RSpec 2.6.0 document. there are no 'setup' mothod.
> document uses 'before(:each)' instead of 'setup'

Please try with rspec version 1.1.4 (released May 26, 2008).

> I replaced 'setup' to 'before(:each)'. and then 'rake vsim
> PROTOTYPE=1'. error messages were not appeared. but, there were no
> test result mesasge.
>
> How do I get correct result with 'rake vsim PROTOTYPE=1'.

Good question.  It should work regardless of the unit testing
framework being used.  I'll try to dig into this issue this week.

By the way, I noticed that your e-mail address comes from Kyoto
University! the birthplace of the original ruby-vpi! :)  Welcome!

Are you interested in maintaining or developing Ruby-VPI?  I have
done more experiments, such as using ucontext instead of pthread[1],
and have more ideas, such as replacing `rake vsim` with a
ruby-vpi.so that can be loaded into any simulator and invoked
on-demand from a C program, and other ideas written in my notebook.

[1]: https://github.com/sunaku/ruby-coroutine-example

-- 
To give happiness is to deserve happiness.

Attachment: signature.asc
Description: PGP signature

Reply via email to