homanchou/watir-webdriver-rails — comment on commit 1291da0d00e5370b0fde92433ca6f14aa5f3bb3a
File:  line 0
By homanchou:

Your concept is correct. It's just that sometimes it was useful to be
able to run a browser even within one controller in order to test some
ajax.

On Thu, Dec 1, 2011 at 12:52 AM, Tanin Na Nakorn

wrote:
> Why should we include controllers?
>
> My reason for excluding it in the first place is because the tests inside the folder does not involve a browser.
> By including it, a browser and the Watir server will be started even when only the tests in the controller folder is done.
>
> I might misunderstand the term 'controller tests' and 'integration tests'. My understanding is that controller tests involves firing HTTP GET and HTTP POST directly to a controller.
>
> Integration tests involves testing through a browser. This means it tests all javascript code and the controller behind it.
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/homanchou/watir-webdriver-rails/commit/1291da0d00e5370b0fde92433ca6f14aa5f3bb3a#commitcomment-760422