Archive for the 'Unit Testing' Category


Parent-Child Unit Tests

So, I’m kind of wondering if something like this exists. I currently have a set of tests that share common set up code which I only want to execute once for all of the tests, as well as some set up code that I want executed before each test. In addition, though, there [...]

Unit Test Crazy!

So, I never really worked in an environment where unit testing was the norm. I’ve been trying to pick it up on my own for a while now and, in some respects, I think I’m doing a good job. I get the basic idea, but I’m not in tune will all of the [...]

More on the Server Conundrum

So, I’ve started development on multiple virtual servers and I’ve found that VMWare actually makes things easier than I thought it would have, at least for the structure I discussed at the end of the last post. Some things I’ve found that make this setup a bit easier:
First, you can set VMWare to setup [...]

The Server Conundrum

The next big task at Orbus is to get our systems working with what I call “intermediary” servers: enterprise style message queues and things like that. Basically, they idea is that the game can sit and asynchronously pump metrics to the queue without sacrificing performance in the game, and the queue will catch up [...]

More on Generated Tests

Shortly after posting this post about using dlls to run generated code to make sure it’s actually generated correctly, I realized that, unfortunately, that approach doesn’t work 90% of the time, and actually doesn’t work 100% of the time if you’re using C++, unless you find a work around to import objects. If you’re [...]

Testing Generated Code

Edit: This post was superseded by this one. Basically, I realized that this approach for C++ is way to hard and not worth the effort. So, if you’re interested in testing generated code, especially in C++, I’d go read the other article. However, if you’re curious as to how to build, load [...]

Unit Testing Integration

Edit: The XSLT file works now (so far as I can tell) and has been updated on my site. The newest version uses the XSLT standard library to do some string manipulation to output a truncated name of the test that actually failed. That library, with instructions on how to install it, is [...]