Re:Ask HN: What do you use to test Frontend code?
by hopeless on Saturday September 03, 2011 @02:05PM
(#2957748)
Sauce is a useful service but it doesn't address the test maintenance problem... And it is a big concern.
My advice: Do NOT use the Selenium IDE. write your own framework, using Selenium, which isolates changes when they occur. If someone changes the login page, you only need to change a login method in your test suite not all 200 rest cases! Look up the Page Objects pattern as one way of doing this
My advice: Do NOT use the Selenium IDE. write your own framework, using Selenium, which isolates changes when they occur. If someone changes the login page, you only need to change a login method in your test suite not all 200 rest cases! Look up the Page Objects pattern as one way of doing this