by patio11 · 15y ago · 0 comments
The whole toolchain for reasoning about stuff happening in the browser is still laging a few years behind what we have on the server, which is a related but larger problem. We have Firebug, which gets us truly revolutionary features like "output log messages... in a browser!" and "inspect the internal state of objects in memory... in a browser!" But many of the rest of the cutting edge developments from the 60s and 70s haven't quite made it to the browser yet, or they're not yet at the point where they can be used by mortals. (Selenium: I want to love you, and yet I can't actually use you for anything because you break my brain.)
Rails is a glue of a bunch of things. It's not like it doesn't exist in other environment.
Meanwhile, the state of JS testing is still far behind. Like really really far behind.
Once you get that sorted out, you still left with common set of libraries. Still a long way to go really.
Not to mention that the whole client-side thing is ripe for a change (depending on whom you talk to).
A few CI tools don't work well with the "requires browser to run test" paradigm.
I understand that means there might be class of errors that the no-browser test would not be able to catch but it's still a huge win.