On Wed, May 6, 2009 at 11:52 AM, Dan Allen <dan.j.allen@gmail.com> wrote:
Speaking of Shale, I really dislike the idea of one huge factory. I much prefer builders if you need to assemble an aggregate object....for instance, if you need FacesContext with ExternalContext mocked out. And you don't often need everything setup anyway. It depends on the test.

As for the injection, we can think about tying that into the @Artifact framework from the JBoss test harness (created for Web Beans Pete and co)

I should say "extending" not tying.

-Dan
 


--
Dan Allen
Senior Software Engineer, Red Hat | Author of Seam in Action

http://mojavelinux.com
http://mojavelinux.com/seaminaction
http://in.relation.to/Bloggers/Dan

NOTE: While I make a strong effort to keep up with my email on a daily
basis, personal or other work matters can sometimes keep me away
from my email. If you contact me, but don't hear back for more than a week,
it is very likely that I am excessively backlogged or the message was
caught in the spam filters.  Please don't hesitate to resend a message if
you feel that it did not reach my attention.