Is testing sufficient?

The name reads everything if I test with capybara:

visit this page
expect this content 

and do it for every single function (e.g. signin, signup, search, click all links and buttons, etc.), would that be enough? Why do I need to test controllers and models? If functions work properly, does that not mean that everything works in harmony?

+4
source share
1 answer

This technique is called black box testing, also known as functional testing. If you test as if you are an application user, it is considered a black box. If you test it from the inside out, it is considered a glass box test.

enter image description here

, , . , , , .

" " :

  • , .

  • , .

:

  • .

  • .

  • .

+8

All Articles