To run the TCK with the webapps/ directory deployer:
cd openejb/tck/cdi-tomee/
mvn clean install -Pwebapp-deployer
See TOMEE-37
The easiest way to run just one test is to update the src/test/resources/passing.xml
file like so:
<?xml version="1.0" encoding="UTF-8"?>
<suite name="CDI TCK" verbose="0">
<test name="CDI TCK">
<classes>
<class name="org.jboss.jsr299.tck.tests.context.conversation.ClientConversationContextTest"/>
</classes>
</test>
</suite>
You can enable remote debugging for the server with the following property:
mvn clean install -Pwebapp-deployer -Dopenejb.server.debug=true
The default port is 5005
. That can be changed as well:
mvn clean install -Pwebapp-deployer -Dopenejb.server.debug=true -Dserver.debug.port=5001