Bit of a n00b question... Do you write unit and integration tests (etc.) for your #gamedev code?
Boost for larger sample size :)
Bit of a n00b question... Do you write unit and integration tests (etc.) for your #gamedev code?
Boost for larger sample size :)
@paintedsky If I could figure out how to write automated unit tests in advance for games, I would absolutely do it.
The best I've been able to some up with are testing scripts for a human to walk through (which are better than nothing).
I like how most of the people here care about "it will extend my development time!" while not thinking about "how much time I will spend to fix a random bug before the release day?"
It's also interesting that most gamedev people don't actually have a confirmation that their code works. What tools are you using to prove that your code:
- works as expected?
- works as expected after refactor/optimization?
- works as expected after plugin/engine update?
I think the biggest reason why gamedev developers don't test (not even talking about TDD) - is that 90% (probably) of games made with engines, that don't provide an efficient way to write tests, and that gamedevs can't even control engine they are using