Run Torpedo test with liberator

xiaoxiao2021-03-06  63

Torpedo is a leading manufacturer, from the middleware company, focusing on O / R mapping software. Torpedo contains a specification that implements a reference implementation (Reference Implementation) implemented with Java, and comparison of check or unsattered comparisons running on the product. Torpedo more information, please refer to

http://www.middleWareselfeResearch.com/torpedo

Even if there is no optimization to TorPeodo code, Liberator PE has a high score at Torpedo:

Test Result Sumabcdefghliberator PE 1.2 Beta 2422222257

Test results of other O / R mapping tools, including WebLogic, Hiberante, Kodo, etc. We will introduce you to how to use Liberator PE to test Torpedo test step by step. Liberator PE is an implementation that is compatible with JDO1.01 specification and provides most of the functions required by JDO2.0 specification.

Step 1: Download Liberator, http://www.redsoftfactory.com/download/torpedo_liberatorjdo.zip

Step 2: Install Oracle 9i, create a database "JDOTEST", add user JDO, password JDO.

Step 3: Download WebLogic 8.1 from www.bea.com Installation in C: BEA directory

Step 4: Unzip Torpedo_Liberatorjdo.zip (unzip to C: / Sandbox / Torpedo)

Step 5: Edit WebLogic Start Script Startwls.bat (or Starwls.sh), add "c: /sandbox/torpedo/configuration/p6spy/p6sspy.jar; c: /sandbox/torpedo/lib/torpedologuel.jar" Add Go to ClassPath

Step 6: Copy c: /sandbox/torpedo/configuration/properties/server/spy.properties to C: / BEA / WebLogic81 / Server / Bin

Step 7: Use Oracle Driver Edit C: /sandbox/torpedo/configuration/properties/server/spy.properties Via UNCommenting "RealDrive = Oracle.jdbc.OracleDriver". Be sure to determine that Driver's name matches the Oracle DRiver name you actually used. Then copy spy.properties to C: / bea / weblogic81 / server / bin.

Step 8: In WebLogic, create a connection pool using P6SPY Driver.

Step Ninth: In WebLogic, create an "AuctionDataSource" using the connected pool just created. Step 10: Configure Torpedo.ear in WebLogic. When running Liberator PE and Package, the initial Torpeodo source code has changed. Eleven: In C: / Sandbox / Torpedo, run "Ant Oracle_Database_build" to configure test data.

Twelve: Start WebLogic, in C: / Sandbox / Torpedo / BIN, perform "Torpedo" to run all tests.

转载请注明原文地址:https://www.9cbs.com/read-84198.html

New Post(0)