Are there any good reasons to use rspec for controllers and views?
My views are highly dependent on Javascript, and as far as I know, Rspec does not handle javascript / ajax on views. I also use cucumber + selenium for this.
And should I use it for controllers?
Isn't it enough just to use Cucumber + Selenium for application behavior? The reason why the cucumber test passes, then passes, why should I worry about Rspec checks and benchmarks?
Can someone enlighten me on this topic?
Cucumber + Shoulda, , , - .
Shoulda , " auth" . :
Shoulda , , , , , , . Cucumber , Inva . .
" " . , :
, , , " " . , .
, , javascript , javascript, QUnit.
Source: https://habr.com/ru/post/1759777/More articles:How to convert hard code to PHP MVC website? - phpSpring mvc how to bind a domain object that has a collection as its property - collectionsPanel with percentage coordinates - resizeHow to combine two linked lists O (1) times in c? - cXSD anytype and JAXB - xsdMergesort - std :: bad_alloc thrown when trying to assign a vector - c ++Borland C ++ inline asm problem with WORD PTR and string - c ++How to approach this design problem - javaопределить, установлен ли флажок php $_GET - phpApple iOS tutorial not working correctly, what did I miss? - iphoneAll Articles