Not much interesting to report, just been improving the unit testing of
FreeCard.

Here's a problem I'm facing:

How do you test a button?

There are certainly some aspects that are simple to test like checking that
when clicked it sends a mouseUp event and so on, but how do you test it's
reaction to all the different properties that can be set like font size and
font style.  I'd really like to avoid doing a screen scrape of the button as
the look of the button is allowed to change it just has to represent the
styled text somehow.

Anyway, maybe someone out there has more experience with unit testing than I
do and can help me out.

Regards,

Adrian Sutton.
----------------------------------------------
Intencha "tomorrow's technology today"
Ph: 38478913 0422236329
Suite 8/29 Oatland Crescent
Holland Park West 4121
Australia QLD
www.intencha.com



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Freecard-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freecard-general

Reply via email to