Update to Marketcetera fork of Quickfix/J and testing framework

1 message Options
Embed this post
Permalink
toli

Update to Marketcetera fork of Quickfix/J and testing framework

Reply Threaded More More options
Print post
Permalink
Hey Marketcetera coders,

As you may have noticed, we've been using a custom fork of the
Quickfix/J jar in the source. This is all changes backported from the
HEAD of quickfixj itself, for fixes to a few bugs that we've found
(and fixed and committed back) ourselves while writing code.

I've just rev'd the 1.0.5-mktc version of QuickfixJ again, since I
needed to add the fix for bug (such as
http://www.quickfixj.org/jira/browse/QFJ-158. So that means you need
to delete the current
quickfixj/quickfixj/1.0.5-mktc/quickfixj-1.0.5-mktc.jar from your
Maven repository in order to pull it down from the server.  I
should've really upped the version, i know, sorry. Will do in the
future, but i'm hoping to not rev the forked QFJ again.

To fix this, just nuke the
~/.m2/repository/quickfixj/quickfixj/1.0.5-mktc directory.

And now on to more exciting news:
I've created a new JUnit test suite/test case combo that deal with
running the unit tests through the specified FIX versions. that's how
we are making sure that the platform works with all the supported
versions of FIX after the switch to version-agnostic code.
It's a pretty elegant suite (i think):
http://trac.marketcetera.org/trac.fcgi/browser/platform/trunk/core/src/test/java/org/marketcetera/core/FIXVersionTestSuite.java
You specify the FIX versions you want tested against, and an optional
list of testcase name exclusions and their corresponding tests (so
that things like MarketDataRequests are only tested with FIX4.2+), and
the suite makes sure that each test case is run against multiple
versions of FIX.

See the http://trac.marketcetera.org/trac.fcgi/browser/platform/trunk/core/src/test/java/org/marketcetera/quickfix/FIXMessageUtilTest.java
for examples.

Happy coding, and let me know if anybody has any issues compiling
after an update. Our build farm seems to be happy, so it works on my
machine :)

--
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