TDD is BS?

Paulo Pinto pjmlp at progtools.org
Wed Jun 19 10:47:30 PDT 2013


Am 19.06.2013 17:54, schrieb Jacob Carlborg:
> On 2013-06-19 14:08, Paulo Pinto wrote:
>
>> Additionally I am yet to find any form of unit testing that is possible
>> to apply to UI code, in a way that the ROI really pays off.
>
> At work we use RSpec together with Capybara to test the UI, or rather
> the full stack. That is, for our web site. Capybara is used, via
> different drivers, to control the web browser. When writing the test you
> can use a driver that opens the web browser and you can actually see it
> clicking on buttons, filling in forms and so on. When running the tests
> in a CI server we use a faster headless web browser.
>

With browser UI testing is a bit easier, but what do you do when doing 
native applications?

Or to come back to the browser area, you need to test the UI in all 
target browsers, across all supported OS. Not all tools do this, even
Selenium, which I have in high regard, has issues.

--
Paulo


More information about the Digitalmars-d mailing list