When writing specifications for a simple Rails application, should you use the right approach to fully cover testing?
Is this enough, too much (for example, can I skip some lower level specifications if I wrote function specifications), or not enough? Why?
You do not need to write specifications for each object in each layer in order to get 100% testing coverage or test drive (you need to complete) all the important actions in your application. Instead, since Behavioral Development (BDD) advises writing specifications from the outside to inside and writing lower-level specifications only as needed.
: , , , . ( , ), , , , , , , .
(, , , , ..), .
, . , , , , , , , , , .
, , , , , , , , , - .
- :
, 100%.
. , . . , , . . . . . .
. . . , , . , , API, , , . , , - , .
? . , , . ? ? , , ? , , , . , - , .
, . . . , , , .