News for hackers. Stuff that matters.
Re:Ask HN: What do you think about testing using Selenium? by guncontrol123 on Saturday August 22, 2015 @07:56AM (#10102272)
It's a great tool for front end testing. However, it's limited with some newer stuff - shadow DOM objects are meant to be supported since January but in reality it's...difficult. However, the way it interfaces with browsers IMHO is preferable to say, CodedUI, which takes control of the mouse and keyboard to execute tests.

Saying that, in Java/C#, Selenium is still easily my preferred tool, and the demand from companies/recruiters (I'm switching contracts at present) seems to indicate it's still very much the tool.

Re:Ask HN: What do you think about testing using Selenium? by nederdirk on Saturday August 22, 2015 @08:15AM (#10102299)
We use selenium tests as a last line of defense. Using it as your only integration test, however, seems a bad idea to me. There are more specific and faster possibilities for testing.

The thing that would make selenium a lot better, would be if browser vendors could agree on a standard for instrumentation. This is of course a perfect-world line of thinking.

Re:Ask HN: What do you think about testing using Selenium? by arisAlexis on Sunday August 23, 2015 @06:12AM (#10105163)
Selenium is used to test that stuff is not totally broken. Its good for startups that dont want/need to spend all this time on 100% unit testing