Testing Applications with Rails

This is rather a general question and some kind of advanced discussion.

How can I test a Rails application?

There are mantras like BDD and TDD, as well as frameworks like RSpec and Cucumber, but how many are enough and what is the best way?

Is Cucumber enough as integration tests? Do you also write additional unit tests?

So what and how is your Rails testing strategy?

Looking forward to good opinions ...

+2
source share
2 answers

How can I test a Rails application? Carefully aiming for eighty percent coverage and no less !

, "" , "" .

(, ) , , , . , , , .

rSpec, Cucumber Selenium Rails (10+ , ).

rSpec , , .

.

Selenium javascript- javascript ( Capybara Cucumber). Selenium, QA (, QA, CI).

"" ​​ rSpec / Cucumber .

+1

- . , Rails, .

.

:

, , /. , , , , .

Rails .
http://guides.rubyonrails.org/testing.html


, IMHO, . , , , , , pass/fail. , - .
:
-?

0

All Articles