Hey guys,

I'm writing a ui javascript toolkit. Which is pretty much done. Though
I do not have automated tests. It's actually all manual testing. And
this is backstabbing me. Coding one thing, refresh browser, verifies
it works and it's done - great. Change another thing, verifies it
works - done (but breaks the behaviour I tested first - most of the
time I'm not aware of this).

The point is, that my "measurements" are 'auto' values. Like I give a
certain div an auto with and height and let the browser do the layout.
Though for some reasons this isn't the case and the browser displays
my div at a too small height, where the contents are not shown.

I would really love to do this testing automated. There are much more
cases instead of only the widths and heights issues (padding, margin,
border, offsets and stuff) are affected too.

What are at the moment the best tools and best practices for this? I'm
working with eclipse and have JSTestDriver installed but really
haven't figured out yet, how to use this tool as I need it.

The other point, that I see really makes this problem even more
harder, is that if I rely on properties like domNode.clientWidth that
these properties differ from browser to browser and I cannot
effectively use this values to measure my tests.

Hope you can help me out.

Thank you very much advance
gossi

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to