[openamq-dev] Help on Unit Testing
Pieter Hintjens
ph at imatix.com
Wed Aug 8 09:11:09 CEST 2007
Hi,
> I Just wrote a code to send and receive messages from AMQ server in
> C/C++. So i just want to know how can i write a unit test for this code. Ex
> : In ActiveMQ there is a embedded server so we can run the server from the
> program it self and unit test our code. Is there a smiler way in OpenAMQ ?.
If you write test scripts in PAL, there is a unit test functionality.
To test C/C++ code you start the server in a separate window, and then
start/stop your test scripts. It is very simple to write a shell
script that does this automatically. If you need help, shout. What
operating system are you on?
-Pieter
More information about the openamq-dev
mailing list