arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.11965cs.SE
收藏

没有免费午餐:教学中的科研软件测试

No Free Lunch: Research Software Testing in Teaching

Michael Dorner, Andreas Bauer, Florian Angermeir

AI总结:

本研究探讨将科研软件测试集成到教学中对科研软件的影响,通过体内实验发现该方式能改善文档并减少依赖,但因精力投入大及学生代码知识产权不确定性,学生代码未能直接整合入科研软件。

摘要:

如今,软件是大多数科学发现的核心。因此,研究结果的质量在很大程度上取决于科研软件的质量。正如我们在工业界软件工程中所了解的那样,严格的测试可以确保科研软件的质量,但它也需要大量的精力,而这在学术界通常得不到回报。因此,本研究探讨了将科研软件测试集成到教学中对科研软件的影响。在一项体内实验中,我们将一个大规模网络模拟测试套件的工程化作为小组项目,整合到瑞典布莱金厄理工学院的软件测试课程中,并定性测量了这种整合对科研软件的影响。我们发现,科研软件从这种整合中受益,表现为文档得到大幅改进,且硬件和软件依赖减少。然而,这种整合非常费力,尽管学生团队开发了优雅且考虑周全的测试套件,但没有学生的代码直接进入科研软件,因为我们无法使向科研软件的整合成为强制性的,甚至是有偿的。尽管我们坚信,将测试等科研软件工程整合到教学中不仅对科研软件本身有价值,而且对下一代的研究人员也有价值,因为他们作为教育的一部分,接触到了其领域的科研软件工程和前沿研究,但对学生代码知识产权的不确定性极大地限制了将科研软件测试整合到教学中的潜力。

英文摘要:

Software is at the core of most scientific discoveries today. Therefore, the quality of research results highly depends on the quality of the research software. Rigorous testing, as we know it from software engineering in the industry, could ensure the quality of the research software but it also requires a substantial effort that is often not rewarded in academia. Therefore, this research explores the effects of research software testing integrated into teaching on research software. In an in-vivo experiment, we integrated the engineering of a test suite for a large-scale network simulation as group projects into a course on software testing at the Blekinge Institute of Technology, Sweden, and qualitatively measured the effects of this integration on the research software. We found that the research software benefited from the integration through substantially improved documentation and fewer hardware and software dependencies. However, this integration was effortful and although the student teams developed elegant and thoughtful test suites, no code by students went directly into the research software since we were not able to make the integration back into the research software obligatory or even remunerative. Although we strongly believe that integrating research software engineering such as testing into teaching is not only valuable for the research software itself but also for students, the research of the next generation, as they get in touch with research software engineering and bleeding-edge research in their field as part of their education, the uncertainty about the intellectual properties of students' code substantially limits the potential of integrating research software testing into teaching.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑