Related Experiment Video
Updated: Nov 5, 2025

Analyzing Melts and Fluids from Ab Initio Molecular Dynamics Simulations with the UMD Package
Published on: September 17, 2021
Unit and regression tests of scientific software: A study on SWMM
Zedong Peng1, Xuanyi Lin1, Michelle Simon2
1Department of Electrical Engineering and Computer Science, University of Cincinnati, Cincinnati, OH 45221, USA.
None:
Testing helps assure software quality by executing a program and uncovering bugs. Scientific software developers often find it challenging to carry out systematic and automated testing due to reasons like inherent model uncertainties and complex floating-point computations. Extending the recent work on analyzing the unit tests written by the developers of the Storm Water Management Model (SWMM) [32], we report in this paper the investigation of both unit and regression tests of SWMM. The results show that the 2953 unit tests of SWMM have a 39.7% statement-level code coverage and a 82.4% user manual coverage. Meanwhile, an examination of 58 regression tests of SWMM shows a 44.9% statement-level code coverage and a near 100% user manual coverage. We also observe a "getter-setter-getter" testing pattern from the SWMM unit tests, and suggest a diversified way of executing regression tests.
Related Concept Videos
Testing Water Quality
Wald-Wolfowitz Runs Test II
For binary data, runs are identified using symbols such as + and −, or equivalently, 1s and 0s. In...
Wald-Wolfowitz Runs Test I
The test works...
Typical Model Studies
Modeling and Similitude
Testing a Claim about Standard Deviation
The hypothesis testing for the claim of population standard deviation (or variance) requires the data and samples to be random and unbiased. The population distribution also must be normal. There is no specific requirement on the sample size as the estimation is based on the chi-square distribution.
As a first step, the hypothesis (null and alternative) concerning the claim about...

