Thread: Test framework?
View Single Post
  #5  
Old 03-02-2013, 10:22 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,743
Default

Unit testing is tough to refit into an existing codebase, especially one with random encapsulation like this one.

One of the games I worked on we tried to add tests while also refactoring some of the huge classes into smaller testable components, but it was a very painful. In the end it did help quite a bit.

Most of the games I've worked on had some sort of automated testing that we ran overnight to find crashes and memory leak/fragmentation issues. It's a great tool if you can do it, but it would be tough without being able to modify both the server and client.
Reply With Quote