We now have database requirements for unit tests in Platform project

1 message Options
Embed this post
Permalink
toli

We now have database requirements for unit tests in Platform project

Reply Threaded More More options
Print post
Permalink
hey guys,

Last week i checked in the initial Hibernate code for creating an
underlying datamodel for the Marketcetera Platform.
That's the new org.marketcetera.datamodel package.

I have just checked in the first set of basic unit tests for creating
and verifiying the data structures:
http://trac.marketcetera.org/trac.fcgi/changeset/309

This means that there's now a dependency on MySQL for running the
'core' package unit tests.
http://trac.marketcetera.org/trac.fcgi/wiki/Marketcetera/BuildingPlatform#ConfigureDatabase

JUnit tests are setup to connect to localhost/junit-<username> as
hibernate/hibernate, but this is configurable in the
core/src/test/resources/hibernate.cfg.xml file. The value of
<username> is taken from the user.name Java system variable.

As i work on the datamodel further, i'll make this easier to
configure, naturally.

For now, just keep in mind that if you are building the platform,
you'll need to have MySQL available, and that pretty soon you'll need
the database to run the OMS as well.


--
Toli Kuznets
http://www.marketcetera.com: Open-Source Trading Platform
download.run.trade.
_______________________________________________
m-etc-dev mailing list
[hidden email]
http://lists.marketcetera.org/cgi-bin/mailman/listinfo/m-etc-dev