[Cppcms-users] UnitTest
Brought to you by:
artyom-beilis
|
From: Sab <rim...@gm...> - 2013-04-12 09:31:51
|
Hi Artyom, I would like to create a UnitTest for my REST-WebHandler classes. Thus, I would like to separately test these classes, without a running webserver and back engine. So I would like to simulate an incoming CppCMS request(), somehow fill header and body with simulated info, pass it to my processing function and then read the content of the response() without trying to send it back to the server to check if the result is as expected. Any ideas, where I could start? Sab |