Good job. This is an excellent step forward.<div><br></div><div>I made a few copy edits. I also added a little bit more detail around the recommendation to use JUnit. We've traditionally used TestNG for Seam, but because the IDE support for TestNG is so flaky in Eclipse and JUnit integrates much cleaner with Arquilian, I'm in support of the change. We need some fixes to JUnit, like categories, but the Arquillian team can pursue those. Please let them know your needs! [1] Speaking of needs, please add a recommendation to use the Arquillian discussion forums when you need guidance with Arquillian.</div>
<div><br></div><div>There is one gap in the article at this point. Right now it assumes the use of the weld-embedded container. That will work for basic managed bean tests, but it's not going to work for integration tests that require container services such as JMS and JPA. It also won't be sufficient when we need to test the real JSF life cycle. Therefore, I recommend adding a section about using real containers. For instance, JMS module needs this right out of the gate. </div>
<div><br></div><div>-Dan</div><div><br></div><div>[1] <a href="http://community.jboss.org/en/arquillian">http://community.jboss.org/en/arquillian</a></div><div><br><div class="gmail_quote">On Mon, Apr 26, 2010 at 1:57 PM, Lincoln Baxter, III <span dir="ltr"><<a href="mailto:lincolnbaxter@gmail.com">lincolnbaxter@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><a href="http://seamframework.org/Seam3/ModuleHandbook" target="_blank">http://seamframework.org/Seam3/ModuleHandbook</a><br>
<a href="http://seamframework.org/Seam3/ModuleTesting" target="_blank">http://seamframework.org/Seam3/ModuleTesting</a><br><br>This includes a few guidelines, plus step-by-step instructions for getting started writing JUnit and Arquillian tests. Please review and add/comment.<br>
<br>Thanks,<br clear="all"><font color="#888888"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.com" target="_blank">http://ocpsoft.com</a><br><a href="http://scrumshark.com" target="_blank">http://scrumshark.com</a><br>
"Keep it Simple"<br>
</font><br>_______________________________________________<br>
seam-dev mailing list<br>
<a href="mailto:seam-dev@lists.jboss.org">seam-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/seam-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/seam-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Dan Allen<br>Senior Software Engineer, Red Hat | Author of Seam in Action<br>Registered Linux User #231597<br><br><a href="http://mojavelinux.com">http://mojavelinux.com</a><br>
<a href="http://mojavelinux.com/seaminaction">http://mojavelinux.com/seaminaction</a><br><a href="http://www.google.com/profiles/dan.j.allen">http://www.google.com/profiles/dan.j.allen</a><br>
</div>