Disposable Testing: Avoiding Maintenance of Generated Unit Tests by Throwing Them Away

by Sina Shamshiri, José Campos, Gordon Fraser, and Phil McMinn

International Conference on Software Engineering (ICSE 2017) Companion Volume



Developers write unit tests together with program code, and then maintain these tests as the program evolves. Since writing good tests can be difficult and tedious, unit tests can also be generated automatically. However, maintaining these tests (e.g., when APIs change, or, when tests represent outdated and changed behavior), is still a manual task. Because automatically generated tests may have no clear purpose other than covering code, maintaining them may be more difficult than maintaining manually written tests. Could this maintenance be avoided by simply generating new tests after each change, and disposing the old ones? We propose disposable testing: ... [more]


Reference

Sina Shamshiri, José Campos, Gordon Fraser, and Phil McMinn. Disposable Testing: Avoiding Maintenance of Generated Unit Tests by Throwing Them Away. International Conference on Software Engineering (ICSE 2017) Companion Volume, pp. 207–209, 2017


Bibtex Entry
@inproceedings{Shamshiri2017,
  author    = "Shamshiri, Sina and Campos, Jos{\'e} and Fraser, Gordon and McMinn, Phil",
  title     = "Disposable Testing: Avoiding Maintenance of Generated Unit Tests by Throwing Them Away",
  booktitle = "International Conference on Software Engineering (ICSE 2017) Companion Volume",
  pages     = "207--209",
  year      = "2017"
}