• DocumentCode
    1683763
  • Title

    Why is Unit-testing in Computer Games Difficult?

  • Author

    Toll, Daniel ; Olsson, Tobias

  • Author_Institution
    Sch. of Comput. Sci., Phys. & Math., Linnaeus Univ., Kalmar, Sweden
  • fYear
    2012
  • Firstpage
    373
  • Lastpage
    378
  • Abstract
    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.
  • Keywords
    computer games; program testing; computer game simulation; fragile test; obscure test; unit-testing; Computational modeling; Computers; Games; Manuals; Mathematical model; Numerical models; Testing; Computer Game Simulation; Computer Game Testing; Unit Testing; XUnit;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Maintenance and Reengineering (CSMR), 2012 16th European Conference on
  • Conference_Location
    Szeged
  • ISSN
    1534-5351
  • Print_ISBN
    978-1-4673-0984-4
  • Type

    conf

  • DOI
    10.1109/CSMR.2012.46
  • Filename
    6178882