We don't have per-DB tests. There's some weak support for excluding
certain tests on some DB's (see
org.apache.cayenne.unit.AccessStackAdapter).
Olga recently did the research of an implementation of per-DB test
capabilities. This hasn't been discussed yet in detail, but this is
something that I'd like to have in 3.1... Specifically this would
require migration of the tests to TestNG, and organizing the tests
into "test groups". Each target database can be associated with one or
more test groups. So DB-specific stuff can be placed in a DB-specific
group.
For now AccessStackAdapter and subclasses are the only way to achieve
that.
Andrus
On Dec 3, 2009, at 1:53 PM, Рябицкий Евгений wrote:
Yeah. Thx...
But what if I want to add some Oracle-specific test?
Do we have some?
Evgeny.
-----Original Message-----
From: Aristedes Maniatis [mailto:[email protected]]
Sent: Thursday, December 03, 2009 1:44 PM
To: [email protected]
Subject: Re: Cayenne Oracle tests
On 3/12/09 8:50 PM, Рябицкий Евгений wrote:
Hello!
Can some one explain me how Cayenne is tested over Oracle.
Just going to add some Oracle-specific JUnit test. How to do it?
Any example... notes... documentation?
Evgeny.
If you want to run the unit tests...
http://cayenne.apache.org/running-unit-tests.html
Ari
-------------------------->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A