test driven development / software testing?

slushslush Join Date: 2009-10-31 Member: 69196Members
<div class="IPBDescription">How do you tackle this?</div>I'll admit I used to play ns1 back when it originally came out. I've only been periodically watching the ns2 site to see what you've been up to, in eager anticipation of its release. I'm an engineering manager for a software company, and that takes most of my time (free and otherwise).

As I've been reading, I've become curious to understand how the ns2 devs are testing the ns2 code base. I saw in your most recent blog post that there has only been one person writing most of the code (and you're just now getting another person on board). Do you (Max, new dev) practice test driven development? Do you write unit tests? What is your plan for testing the code base for security issues like server denial-of-service attacks and client buffer overflows? Protocol errors / desync? etc.

I come from a startup company where I can fully understand pressure and how that affects quality in software. Just wondering how you're dealing with this as well.

Thanks,
slush

Comments

  • IronFistIronFist Join Date: 2006-12-01 Member: 58805Members
    You might have already found this, but there was a podcast covering it briefly in 2008: <a href="http://www.unknownworlds.com/ns2/news/2008/3unknown_worlds_podcast_22" target="_blank">http://www.unknownworlds.com/ns2/news/2008...rlds_podcast_22</a> (starting around 4:50)

    I'm going to go out on a limb and guess that unit testing is not quite such a big priority now -- I just can't see how Max/Charlie could progress to this point if they had to write accompanying unit tests for (mostly) everything they did (or similarly, how they could find the will to do that on the schedule they've got). I would be interested in hearing how it's held up, and more importantly, how pervasive it is (mostly for Lua logic, or is it also for other engine components?)

    I love unit testing a lot, but things really change when you have hard deadlines to meet :)

    I miss the podcasts ;_;
  • slushslush Join Date: 2009-10-31 Member: 69196Members
    That's exactly why I started this thread. I picked haste up from the blog post and It seems like they're deathmarching to hit deadlines which will undoubtedly affect testing. The best way to deal with it is to prioritize unit tests and manual testing based on risk area, i.e. netcode first.
Sign In or Register to comment.