Webrat, the acceptance testing framework that is all the rage right now, has a neat lesser-known save_and_open_page command that is helpful for debugging when your tests go wrong. Essentially, this command dumps the current HTML to the browser and lets you inspect the state of the page visually at any point within your test.
Rubymine, Pivotal’s favorite Ruby IDE, doesn’t really support UTF8. You can type UTF8 characters seemingly fine … but somewhere along the way it doesn’t save properly. Apparently this has been an issue with Rubymine for quite some time. Frustrating.
Ask for Help
- Anyone know a reliable way of CSS regression testing? When we are refactoring CSS or markup, it would be great if there was an automated way to detect visual breakages. Some ideas floating around involve taking screenshots through Webkit’s API and comparing them pixel by pixel. This kind of thing has been attempted twice by Pivots without much success. Anybody have a good solution?