[Quickfix-developers] Writing acceptance test for quickfix using JUnit
Brought to you by:
orenmnero
|
From: Max K. <ma...@vi...> - 2005-10-12 22:02:10
|
Hi, I am try to automate some acceptance tests using JUnit. I am using JUnit as a client on one side to pump orders using different scenarios through my system and to an exchange simulator on the other side. For example, one test will cover order placement, the other order execution, yet another order cancellation and so on. The problem arises when I set up and tear down my tests. Ideally, I want to call initiator.start() in the setup() and call initiator.stop() in teardown(), however, that allows me to run only one test since the session is dropped in initiator.stop() after JUnit calls teardown() for the first time. Has anyone done this before? Can anybody suggest a better scenario? Thanks, Max Khaskin ********************************************************************** Email notices. For more info please visit http://www.viewtrade.com/emaildisclaimer ********************************************************************** This email message has been swept by MIMEsweeper for the presence of any viruses. www.mimesweeper.com ********************************************************************** |