Jump to content
  • Advertisement
  • entries
  • comments
  • views

GIve me my unit tests!

Sign in to follow this  
Mike Bossy


So recently I went through a perf pass on my renderer where I implemented batching and fun stuff like that. It took me a little bit of work but I got everything working and got some small performance improvements. There's still some perf changes I want to make but I decided not to do them in the short run. I thought all was done on my perf changes and I could concentrate on integrating my new art. Everything was going fine until I decided to try and change from windowed to full screen to see how things looked that way. And of course crash/hang and everything goes to pot.

This is why I want unit tests for all of my systems. This is a simple case of a regression bug do to refactoring and I should have know it right away. For anyone who doesn't believe in having unit tests, ask yourself how many times you decide to change/update your code. Then decide if you're human or not. If you are you're going to break things that you don't know about. How confident are you going to be changing something a week before you ship??

Unit tests how I need you everywhere!
Sign in to follow this  

1 Comment

Recommended Comments

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!