I should add, I plan to release an alpha of the TCK in about 1-2
weeks. This will include:
* Test coverage report
- all assertions (except Chapter 9) in PRD2 identified
- around 60% of testable assertions mapped to tests
* Around 70% of defined tests executing correctly
* All unit tests running both standalone and incontainer (around 80%
of the suite is unit tests, the rest is integration[1] tests)
From this, you can see we will have around 42% of assertions in the
spec covered. We have targeted the non-edge cases initially, which
results in runtime coverage of the RI codebase of around 60-70%.
[1] We define integration tests to include any test which requires
instantiation of objects defined by other frameworks (EJB, Servlet,
JMS). In other words, the tests that relate to the definition of
JSR299 services for session beans *are* unit tests, those that relate
to their lifecycle *aren't*.
On 25 Feb 2009, at 01:30, Pete Muir wrote:
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
_______________________________________________
webbeans-dev mailing list
webbeans-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/webbeans-dev
--
Pete Muir
http://www.seamframework.org
http://in.relation.to/Bloggers/Pete