Did you know about our Automated Testing In Games discord? We have a weekly discussion every week, and last week it was about how to "shift left" (that is, find out about bugs faster) in ways that don't involve test automation. If you missed out, here's a useful summary:
- As soon as you can, get a build server running, the more platforms the better (dm me if you want help with that!) (Thanks Sean Sweeney, Nic Makin)
- Dogfooding - have the team play the game regularly. But also dogfood your APIs - write the code that will call the API _before_ you write the API, so you know what the usage patterns will really look like. (Rafael Muñoz León 🔜 Gamescom)
- The compiler is your 0th test, so turn on warnings-as-errors, and as many static analysis bells as whistles as you can (Keith Stockdale, Alex Darby)
- Alex Darby is, like me, a huge fan of defensive coding and asserts -- most languages asserts and document constraints.
- I would add that maybe these count half as tests, but asking the editor to repeat its validation and failing on warnings - eg in unreal, running map check and asset validation, or in unity, opening every scene in the editor and watching for warnings in the console
- Use retrospectives and pre/post mortems to understand friction and drive change, and customise them to your needs (Juan Antonio Nepormoseno Rosales)
- Having a maintenance budget rather than waiting for things to go on fire lets you slowly improve things and avoid falling into the Capability Trap (Rafael Muñoz León 🔜 Gamescom)
- if you can afford it, get QA in early and embedded, smoking the build on a regular cadence. And push expected behaviour to them proactively (Nic Makin, Colin Ferguson)
If you can think of more ways, join us on the discord! This week we're also talking about how to prioritise build engineering work.