I am wondering, if I use Integration testing, is functional testing necessary? And what about Acceptance testing? I am struggling to understand, if I can stick to Integration testing and then just forget about Functional testing?
From the official Rails guide:
In Rails, testing the various actions of a controller is a form of writing functional tests.
http://guides.rubyonrails.org/testing.html#functional-tests-for-your-controllers
Integration tests are used to test how various parts of our application interact.
http://guides.rubyonrails.org/testing.html#integration-testing
Quick answer: integration testing is essentially a subset of functional testing, and acceptance testing is a form of functional testing.
I recommend reading the wikipedia articles on the subject. Keep in mind that the definitions of the various kinds of testing can be taken with a grain of salt.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With