From: "(rkumar) Sentinel" Date: 2009-12-31T22:02:36+09:00 Subject: Automated testing of visual library (ncurses) As i work more on a ncurses widget library, I am wondering how does one do automated testing for a software that is primarily visual. Whenever i make changes, I need to ensure that things still show correctly - the cursor position on screen, widget placement, text placement, text wrapping, highlighting and attributes of widget, scrolling, cropping, navigation, key handling, etc. Currently, i have no way of knowing what's broken. 1. One thought that comes is to take some kind of screen dump and compare screen dumps when testing. (I am on a unix terminal, of course, OS X) 2. I don't think logging to a file and comparing logs would be of much benefit. Thoughts and pointers welcome. -- Posted via http://www.ruby-forum.com/.