Andrey Kryachkov
Andrey Kryachkov

Reputation: 901

Comprehensive guide on testing rails app

Is there any comprehensive guides on testing rails apps. Im searching for guide that will tell me what should I test and how should I test it especially with Rspec. Lots of examples will be appreciated.

Upvotes: 5

Views: 2133

Answers (4)

aceofbassgreg
aceofbassgreg

Reputation: 3937

Check out Everyday Rails Testing with RSpec. Sumner does a great job of walking you through writing tests for an entire app. The Hartl book is also a great resource.

Upvotes: 1

megas
megas

Reputation: 21791

The RSpec Book

Testing the rails app is part of development so I'd sugest to read Ruby on Rails Tutorial, Learn Rails by Example by Michael Hartl, it has good explained testing process.

Upvotes: 6

Matthew Rudy
Matthew Rudy

Reputation: 16834

The Rails Guide A Guide to Testing Rails Applications is a good place to start.

It covers the default test/unit style of testing.

As suggested by @megas, the RSpec book is another place to look.

Agile Web Development with Rails is a great first book for any rails developer, covering the full process of building an application, testing it as you go.

Upvotes: 3

Related Questions