New in ruby and rspec testing

Hi to all
I’m a new in ruby and RoR programming.
And my problem is Rspec.
I don’t understand how to write test files in rspec.
Maybe it’s because I don’t know ruby good.
Can you send me links to fine examples/screencasts/e-books and other
stuff.
I found some on google but it not enough :frowning:
Thanks for replie’s

I find the website to be full of great examples. (wish it were
available offline)

http://rspec.info

On Jan 18, 2008 8:16 AM, Anton K. [email protected] wrote:

Posted via http://www.ruby-forum.com/.


rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users


Cheers,

Kevin W.
http://www.bantamtech.com/

On Jan 18, 2008, at 10:47 AM, Kevin W. wrote:

I find the website to be full of great examples. (wish it were
available offline)

wget and svn are your friends.

Scott

I’ve got the source and tried to build the docs, but it has no css and
the links are bad.

On Jan 18, 2008 8:56 AM, Scott T. [email protected]
wrote:


rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users


Cheers,

Kevin W.
http://www.bantamtech.com/

On Jan 18, 2008 10:02 AM, Kevin W. [email protected] wrote:

I’ve got the source and tried to build the docs, but it has no css and
the links are bad.

How are you trying to build the docs? Are you talking about rdoc or
the website docs?

The website. I cd into the /doc directory and ran the rake task to
create the site. The pages seem to be there, but some links are broken
and there are no css or image files.

On Jan 18, 2008 9:32 AM, David C. [email protected] wrote:

http://rubyforge.org/mailman/listinfo/rspec-users


Cheers,

Kevin W.
http://www.bantamtech.com/

Kevin W. wrote:

As Scott said… wget is your friend:

wget --recursive --html-extension --convert-links --domains=rspec.info
http://rspec.info

That command will put the entire site content along with CSS and all
with links made local in a nice little rspec.info dir. :slight_smile:

-Ben

Peepcode is likely your best bet for coherent information, at least
until the book comes out:

http://peepcode.com/products/test-first-development (this uses
Test::Unit IIRC, but gives a good into to BDD)

http://peepcode.com/products/rspec-basics
http://peepcode.com/products/rspec-mocks-and-models
http://peepcode.com/products/rspec-controllers-and-tools
http://peepcode.com/products/rspec-user-stories

They aren’t free, but reasonably priced: $9.

/g

On 1/18/08, Anton K. [email protected] wrote:

Posted via http://www.ruby-forum.com/.


rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

George A.

BenevolentCode LLC
O: (410) 461-7553
C: (410) 218-5185

[email protected]

That worked easily enough - thanks!

On Jan 18, 2008 9:57 AM, Ben M. [email protected] wrote:

I’ve got the source and tried to build the docs, but it has no css and

with links made local in a nice little rspec.info dir. :slight_smile:

-Ben


rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users


Cheers,

Kevin W.
http://www.bantamtech.com/

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs