[webbeans-dev] The TCK harness

Pete Muir pmuir at redhat.com
Tue Feb 24 20:30:22 EST 2009


If you watch Web Beans SVN, you will have seen a flurry of activity  
around the TCK. The TCK harness is now out of development (perhaps  
beta quality) and supports:

* reusing the same test cases for incontainer and standalone tests
* declarative definition of test artifacts (a list of classes/xml DDs  
for standalone, WAR or EAR for incontainer)
* an html debug mode for incontainer tests
* ability to launch tests and test cases from the IDE, both  
incontainer and standalone
* deployment API (currently implemented for JBoss AS)
* porting API which all JSR299 impls must implement to run the TCK  
(access to the current manager, ability to activate and deactivate  
contexts as needed)

Still to come:

* Ability to execute servlet based requests to test multi-request JSF  
and Servlet capabilities (mainly conversation support)
* multiple artifact deployment to support JMS testing and remote EJB  
testing
* test launcher for local JVM incontainer tests (EEJB mode)

If you want to read more about developing tests, take a look at http://seamframework.org/WebBeans/JSR299TCKHarness 
  (still very terse) or if you are interested in using the TCK, take a  
look at http://seamframework.org/WebBeans/JSR299TCKPortingPackage -  
OpenWebBean's guys, and other JSR299 implementors, I would love your  
feedback on using the TCK :-)

Best,

Pete

--
Pete Muir
http://www.seamframework.org
http://in.relation.to/Bloggers/Pete




More information about the weld-dev mailing list