Our Craft

Making it better

Red/green bar for CHUI

Posted by danielmeyer on August 1, 2008

One of the languages we use didn’t have a graphical xUnit runner available, and while Aaron ended up creating us a nice runner (thanks again, Aaron!), before that was quite ready (or did it take some time before I saw the good in a GUI runner — could it be I was stuck on CHUI?!) I was experimenting to see if we could bring the beloved Red/Green bar to CHUI.  Here’s the proof-of-concept that led Ben (Old Ben, I mean :) to say, “This is not where we should be spending our time.” :

Was Ben right?  He sure was!  :)

About these ads

2 Responses to “Red/green bar for CHUI”

  1. I love it!

  2. [...] On to my issue.  Our C++ unit test support is currently command-line based, and it puts out a lot of text to the screen.  I found I was having to carefully cull through a few screens of data looking for what went right or wrong.  It was too much work for each test run.  I decided to colorize.  ANSI escape sequences to the rescue! (putting to use our research from before.) [...]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.