Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   C++ (http://www.programmingforums.org/forum15.html)
-   -   Testing client in client/server. (http://www.programmingforums.org/showthread.php?t=11406)

magnus.therning Sep 26th, 2006 7:07 PM

Testing client in client/server.
 
I'm just soliciting for ideas here. I don't think my situation is very unique so there ought to be someone out there that can offer some wisdom :-)

I'm writing a client for a client/server app. On Linux, with autoconf/automake as my build environment (not ideal, but it's pretty much standard). I have pretty much settled for unit++ as my unit test framework.

Automake allows to build test programs (check_PROGRAMS) and run them on 'make check' (TESTS variable). What I don't know is how to get the mock-up server to run, it should be started before the unit tests are run, and shut down afterwards. Any good ideas?


All times are GMT -5. The time now is 1:00 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC