On Thu, Apr 25, 2013 at 10:14 AM, Austin Gilbert
<austin.gilb...@gmail.com>wrote:
> Any way it seems like you're wanting to test the unmodified game engine ,
> perhaps an acceptance testing framework would better suit your needs.
>
I don't necessarily agree or disagree with this statement.
Nils, a more "pure" way to test your plugin would be to, in your tests,
establish a game state and if necessary a "mock" game engine API. You then
initialize the game state, call your callback, and then verify the output
-- without the engine even running.
However, I understand that it can be very difficult (or even nigh
impossible) to decouple a game engine plugin from the engine itself
sometimes. Let me ask you this -- does the engine run externally to your
test executable, or can you run it within your test executable? Does it run
in its own thread(s) or can you trigger a single step / pass of the engine?
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
unittest-cpp-devel mailing list
unittest-cpp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unittest-cpp-devel