Unit testing, model validation, and biological simulation
- Published
- Accepted
- Subject Areas
- Computational Biology, Neuroscience, Computational Science
- Keywords
- unit testing, biological simulation, scientific software, validation testing, test-driven development, model validation
- Copyright
- © 2016 Sarma et al.
- Licence
- This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, reproduction and adaptation in any medium and for any purpose provided that it is properly attributed. For attribution, the original author(s), title, publication source (PeerJ Preprints) and either DOI or URL of the article must be cited.
- Cite this article
- 2016. Unit testing, model validation, and biological simulation. PeerJ Preprints 4:e1315v2 https://doi.org/10.7287/peerj.preprints.1315v2
Abstract
The growth of the software industry has gone hand in hand with the development of tools and cultural practices for ensuring the reliability of complex pieces of software. These tools and practices are now acknowledged to be essential to the management of modern software. As computational models and methods have become increasingly common in the biological sciences, it is important to examine how these practices can accelerate biological software development and improve research quality. In this article, we give a focused case study of our experience with the practices of unit testing and test-driven development in OpenWorm, an open-science project aimed at modeling Caenorhabditis elegans. We identify and discuss the challenges of incorporating test-driven development into a heterogeneous, data-driven project, as well as the role of model validation tests, a category of tests unique to software which expresses scientific models.
Author Comment
This revision replaces Figure 1 and adds an additional figure after Code Listing 6.