testing - Doubts on correct BDD approach in Rails -


i doing bdd in following way:

-> creating cucumber scenarios (for integrational tests)
-> create needed model rspe unit tests

--> cucumber scenarios.

however, have heard nice test controller using unit testing (for example rspec). wondering if idea, or "too much" testing. example, famous rails tutorial, doesn't controller tests, integration tests (with rspec directly) , model unit tests (also rspec).

so, advice on this? approach?

this is, of course, pretty debated issue, here's important blog post detailing arguments testing controllers:

http://solnic.eu/2012/02/02/yes-you-should-write-controller-tests.html


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -