• Home
  • Search
  • Do student programmers all tend to write the same software tests?
  • Cite Icon49
  • https://doi.org/10.1145/2591708.2591757Copy DOI Icon

Do student programmers all tend to write the same software tests?

  • Jan 1, 2014
  • Stephen H Edwards +1 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

While many educators have added software testing practices to their programming assignments, assessing the effectiveness of student-written tests using statement coverage or branch coverage has limitations. While researchers have begun investigating alternative approaches to assessing student-written tests, this paper reports on an investigation of the quality of student written tests in terms of the number of authentic, human-written defects those tests can detect. An experiment was conducted using 101 programs written for a CS2 data structures assignment where students implemented a queue two ways, using both an array-based and a link-based representation. Students were required to write their own software tests and graded in part on the branch coverage they achieved. Using techniques from prior work, we were able to approximate the number of bugs present in the collection of student solutions, and identify which of these were detected by each student-written test suite. The results indicate that, while students achieved an average branch coverage of 95.4% on their own solutions, their test suites were only able to detect an average of 13.6% of the faults present in the entire program population. Further, there was a high degree of similarity among 90% of the student test suites. Analysis of the suites suggest that students were following naïve, "happy path" testing, writing basic test cases covering mainstream expected behavior rather than writing tests designed to detect hidden bugs. These results suggest that educators should strive to reinforce test design techniques intended to find bugs, rather than simply confirming that features work as expected.

Similar Papers
  • Research Article
  • Citations22

Statement frequency coverage: A code coverage criterion for assessing test suite effectiveness

  • Sep 19, 2020
  • Information and Software Technology
  • Alireza Aghamohammadi +2
  • Conference Article
  • Citations7

Checked Coverage and Object Branch Coverage

  • Feb 24, 2015
  • Zalia Shams +1
  • Research Article
  • Citations6

Search-based test case implantation for testing untested configurations

  • Mar 14, 2019
  • Information and Software Technology
  • Dipesh Pradhan +4
  • Research Article
  • Citations18

An empirical bayesian stopping rule in testing and verification of behavioral models

  • Oct 01, 2003
  • IEEE Transactions on Instrumentation and Measurement
  • M Sahinoglu
  • PDF
  • Research Article
  • Citations7

Genetic Algorithm for Test Suite Optimization: An Experimental Investigation of Different Selection Methods

  • Apr 10, 2021
  • Turkish Journal of Computer and Mathematics Education (TURCOMAT)
  • Chetan J Shingadiya Et.Al
  • Conference Article
  • Citations5

Integration of Software Testing to Programming Assignments: An Experimental Study

  • Oct 01, 2019
  • Gustavo M N Avellar +5
  • Research Article
  • Citations1

Hybrid optimization with constraints handling for combinatorial test case prioritization problems

  • Jul 12, 2025
  • Network: Computation in Neural Systems
  • Selvakumar J +2
  • Research Article
  • Citations62

On guiding the augmentation of an automated test suite via mutation analysis

  • Aug 21, 2008
  • Empirical Software Engineering
  • Ben H Smith +1
  • Research Article
  • Citations7

Test Suite Optimization Using Chaotic Firefly Algorithm in Software Testing

  • Oct 01, 2017
  • International Journal of Applied Metaheuristic Computing
  • Abhishek Pandey +1
  • Book Chapter
  • Citations6

Test Suite Optimization Using Chaotic Firefly Algorithm in Software Testing

  • Jan 01, 2021
  • Abhishek Pandey +1
  • Book Chapter
  • Citations44

Is Branch Coverage a Good Measure of Testing Effectiveness?

  • Jan 01, 2012
  • Yi Wei +2
  • Research Article
  • Citations5

A Model of How Students Engineer Test Cases With Feedback

  • Jan 14, 2024
  • ACM Transactions on Computing Education
  • Austin M Shin +1
  • Conference Article
  • Citations35

Comparing test quality measures for assessing student-written tests

  • May 31, 2014
  • Stephen H Edwards +1
  • Research Article
  • Citations66

Guidelines for Coverage-Based Comparisons of Non-Adequate Test Suites

  • Sep 02, 2015
  • ACM Transactions on Software Engineering and Methodology
  • Milos Gligoric +5
  • Conference Article
  • Citations89

Code coverage and test suite effectiveness: Empirical study with real bugs in large systems

  • Mar 01, 2015
  • Pavneet Singh Kochhar +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.