I installed rspec on Linux Ubuntu 10.04, but no command 'rspec' is
found. Perhaps the PATH is wrong. What is the correct search path?
The following was copied from my terminal. Thank you for taking a look:
~$ sudo gem install rspec --version 2.0.0
~$ gem list --local
*** LOCAL GEMS ***
rspec
Thanks Richard. Adding the home .gem/ruby/1.8 path did not help. I
have rspec version 2 installed. How do I make sure version 1 is not
installed?
Here is a copy&paste from my terminal:
~$ printenv PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/wolf/.gem/ru
Thanks Luis. I uninstaled rubygems1.8 and reinstalled rubygems1.8 and
rspec. This time it worked.
I installed rubygems1.8 from the Ubuntu Software Center. Then from the
terminal:
gem install rspec -v 2.0.0
WARNING: Installing to ~/.gem since /var/lib/gems/1.8 and
/var/lib/gems/1.8/bin are
I have been writing manual tests and dabbled in Cucumber. I like that
end users can read the Cucumber tests. Is there a way to generate
user-readable tests from Rspec tests or Watir tests?
Thank you.
--
Posted via http://www.ruby-forum.com/.
___
rspe
Sorry my question was not clear.
Sidu Ponnappa wrote in post #1021398:
> You can write your own Formatter[1] if the existing ones don't work for
> you.
> [1] http://cheat.errtheblog.com/s/rspec/
I am mostly testing Java web applications (I do not know Rails). Will
Formatter[1] work without Rails
Now I understand better. Goggling "rspec formatter" shows that there
are formatters for progress, documentation, and html. This will make
more sense after I learn Rspec.
Thank you David and Sidu.
--
Posted via http://www.ruby-forum.com/.
___
rspec-