Am 24.05.10 22:21, schrieb Kito Mann:
Hello,

I'm looking into testing frameworks, and the only info I can find on MyFaces
Test is the Maven repo: (svn.apache.org/repos/asf/myfaces/test) . Has
anything been written about it?
---
Kito D. Mann | twitter: kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info | twitter:
jsfcentral
+1 203-404-4848 x3

Sign up for the JSFCentral newsletter: http://oi.vresp.com/?fid=ac048d0e17

Hello Kito not directly related but,
I also have added some basic unit testing stuff for our javascripts
which are supposed to be triggered from testing webpages

(see under myfaces/core/_utils/_UnitTest.js
and myfaces/core/_utils/_Lang.js (respectively _ExtLang.js after the next commit on my side which moves it out into a debugging replacement class) for the attached logging functionality)

This is very basic but does what you need mostly, I use it myself in some integration tests which I run before every commit of the javascripts.

see also http://www.pastebin.org/277823 for a small sample of my unit tests.

ideally this can be combined with selenium since the logging also works
on a special logging div, if set, directly on a page (it also utilizes the console if present)


Cheers Werner

Reply via email to