paperbot · PL 论文追踪

全部论文 待读 收藏

P2 How do Students Test Software Units?

学生如何测试软件单元?
ICSE 2021 IEEE/ACM 43rd International Conference on Software Engineering: Software Engineering Education and Training (ICSE-SEET)2021匹配度 0/10 · 该论文是编程入门学生测试行为的实证教育研究,关注学生测试观念与黑盒测试困难,未涉及静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析,与研究画像的核心方向基本无关。引用 1 inbox
Lex Bijlsma, Niels Doorn, Harrie Passier, Harold Pootjes, Sylvia Stuurman
crossref: 2026-09-12

AI 速览

一句话:实证研究发现,入门编程学生虽自认系统测试,实际并不系统,且难以脱离代码设计测试用例。

本文研究未接受正式测试教育的入门编程学生对软件测试的认识与信念。作者让完成编程导论课的学生填写问卷、完成四个练习并再次填写问卷,随后对其中11名学生进行半结构化访谈,以获取更深入的定性数据。主要发现是:学生实际上并不系统地进行测试,但大多数自认为测试是系统性的。研究还揭示了一个常见误解:多数学生只能基于程序代码来构思测试用例;即使不提供代码(黑盒测试),他们仍试图先想象或写出代码,再据此设计测试用例。这表明测试教育需帮助学生建立不依赖实现的测试思维。

问题
研究未受过正式测试教育的入门编程学生如何理解与实施软件单元测试,尤其关注其测试观念与常见误解。
方法
采用混合方法:前后两次问卷、四个测试练习,并对11名学生进行半结构化访谈。
评估
通过问卷与练习结果描述学生表现,并用访谈进行定性分析,发现学生自评与实际测试系统性之间的差距,以及依赖代码构思测试用例的误解。
原文摘要(Abstract)

We gained insight into ideas and beliefs on testing of students who finished an introductory course on programming without any formal education on testing. We asked students to fill in a small survey, to do four exercises and to fill in a second survey. We interviewed eleven of these students in semi-structured interviews, to obtain more in-depth insight. The main outcome is that students do not test systematically, while most of them think they do test systematically. One of the misconceptions we found is that most students can only think of test cases based on programming code. Even if no code was provided (black-box testing), students try to come up with code to base their test cases on.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot6266,
  title = {How do Students Test Software Units?},
  author = {Lex Bijlsma and Niels Doorn and Harrie Passier and Harold Pootjes and Sylvia Stuurman},
  booktitle = {ICSE},
  year = {2021},
  doi = {10.1109/icse-seet52601.2021.00029}
}