AW: [OJB-developers] C/S JUnit tests
Brought to you by:
thma
From: Mahler T. <tho...@it...> - 2002-03-14 07:32:32
|
I think it would even be better to have the C/S tests automated. I have started to work on this (you'll find some traces in the "junit" target in build.xml) but did not get things working right now. Thomas > -----Urspr=FCngliche Nachricht----- > Von: Eric Bieschke [mailto:EBi...@sa...] > Gesendet: Mittwoch, 13. M=E4rz 2002 20:13 > An: Mahler Thomas; Joa...@tp...; > obj...@li... > Betreff: Re: [OJB-developers] C/S JUnit tests >=20 >=20 > This would be extremely useful to have added to the OJB = documentation. >=20 > - Eric >=20 > ----- Original Message -----=20 > Subject: AW: [OJB-developers] C/S JUnit tests >=20 >=20 > Hi Joachim, >=20 > > Hy, > >=20 > > are there any JUnit tests that test the C/S-Model? As I'm doing = some > > refactoring in this area to allow simple a implementation of the > > PersistenceBrokerServlet. Unfortunately I don't know enough=20 > > of JUnit to > > write those tests myself (I know, I better have to learn it, now!). > > >=20 > Currently there are no special JUnit tests for the C/S mode. > To test C/S mode I do the following: > 0. compile everything with build.sh main > 1. Switch to server mode in OJB.properties. > 2. Setup test database with build.sh tests > 3. startup server with server.sh > 4. run all JUnit tests with build.sh junit >=20 > HTH, >=20 > Thomas > =20 > > regards > > Joachim Sauer >=20 >=20 |