Why is Unit-testing in Computer Games Difficult?
Daniel Toll, Tobias Olsson · Proceedings of the ... European Conference on Software Maintenance and Reengineering/Proceedings of the European Conference on Software Maintenance and Reengineering · 2012
In this paper, we investigate how unit testing can be used to verify computer game simulations with implicit and poorly defined mathematical models. The difficulty of calculation of expected values for such cases tends to lead to Fragile and Obscure tests. The effects of these test smells can be reduced if we improve the strategy we use to calculate expected values. We investigate four strategies and while each of these is insufficient, we outline how they can be combined into a single, sufficient strategy.
Cited by 3 works. doi:10.1109/csmr.2012.46
Authors
References
- Verification and validation in computational fluid dynamics
- How do scientists develop and use scientific software?
- Computational science: ...Error
- xUnit Test Patterns: Refactoring Test Code
- Code Verification by the Method of Manufactured Solutions
- Developing Scientific Software
- Ordering broken unit tests for focused debugging
- Recovering traceability links between unit tests and classes under test: An improved method
- Automated continuous verification for numerical simulation
- JExample: Exploiting Dependencies between Tests to Improve Defect Localization