When Free Shipping Hides a Bug
This study compares software testing strategies for detecting deliberately seeded faults in three shipping-price calculators: a synthetic model, Django-Oscar, and Spree. Using exact detection probabilities over bounded input domains, it evaluates 12 configurations per calculator. At a ceiling of 32 tests, boundary sampling without replacement achieved 88.07% expected fault detection in the synthetic calculator, compared with 76.08% for uniform sampling. Uniform sampling performed slightly better on Django-Oscar. On Spree, a specification-based axis suite detected every seeded fault that could change the output using 4–13 inputs. Complete pairwise coverage missed some faults in the synthetic and Spree calculators. A separate experiment on the synthetic model showed how fee limits and free-shipping thresholds can conceal earlier calculation errors while making faults in those rules easier to detect. The results concern controlled experiments with seeded faults and experimental tariffs.
Authors
- Timothy Le (ORCID: https://orcid.org/0000-0001-6159-674X)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-29
- DOI
- https://doi.org/10.5281/zenodo.24649840
- Primary Topic
- Software Testing and Debugging Techniques
- Type
- preprint