-
1. Re: Create a Logger for a Simple Seam Test
jacob.orshalick Oct 2, 2007 10:29 AM (in response to jcelano)This is certainly a valid approach IMO and one that I have used for years. EasyMock and JMock are great frameworks that make this easy to do and you can always write stubs (which it sounds like you were already considering). I always strive to make my components testable outside a container as it generally leads to loosely coupled components.
-
2. Re: Create a Logger for a Simple Seam Test
jcelano Oct 3, 2007 9:43 AM (in response to jcelano)Thx for the reply.
Looking through the SEAM documentation a bit, i see the section about using the SeamTest objects. The problem that i am having is that i didn't create my project using Seam-Gen (i am trying to integrate with an existing project), so i cannot use the auto-gen tools, which make is easy to get up and running fast.
i think that i am going to have to take a step back and figure it all out. I was just hoping that there was a tutorial or example for this kind of thing to kick start my prototype.