On Jul 3, 2011, at 12:38 PM, Romain Manni-Bucau wrote: > Hi, > > i wonder how we could pass bval tck, > > i mean, in the jsr303 there is nothing useable to pass TCKs, in JEE 6 spec > only the Validator and ValidatorFactory are described. > > However in the tck set a lot of standalone (not jee) tests are present and i > don't know how we should pass them.
If it is anything like the CDI TCK, we need to run standalone=false for TomEE. Basically a matter of booting TomEE, implementing the test suite hooks to deploy what the test suite gives us (should be a war or an ear), then the tests would be run over a servlet -- there's a build-in runner called WebAppLauncher or something that you use instead of the LocalTestLauncher. That's the the CDI TCK does anyway. I figured out a way to run most of it embedded (standalone=true), but that's more for convenience than a requirement since we can't actually pass all the tests that way. -David
