Pruebas unitarias para evaluar automáticamente la programación de clases en python
[EN] The Automatic Assessment (AA) of tasks presents several advantages, such as: its application to a large number of students (due to the very short time that it requires compared to manual evaluations), automatic and immediate feedback to the students and lack of subjectivity . In this paper we e...
| Autores: | , |
|---|---|
| Tipo de recurso: | capítulo de libro |
| Fecha de publicación: | 2023 |
| País: | España |
| Institución: | Universitat Politècnica de València (UPV) |
| Repositorio: | RiuNet. Repositorio Institucional de la Universitat Politécnica de Valéncia |
| Idioma: | español |
| OAI Identifier: | oai:riunet.upv.es:10251/200688 |
| Acceso en línea: | https://riunet.upv.es/handle/10251/200688 |
| Access Level: | acceso abierto |
| Palabra clave: | Evaluación automática Pruebas unitarias Programación orientada a objetos Automatic assessment Unit testing Object-oriented programming |
| Sumario: | [EN] The Automatic Assessment (AA) of tasks presents several advantages, such as: its application to a large number of students (due to the very short time that it requires compared to manual evaluations), automatic and immediate feedback to the students and lack of subjectivity . In this paper we explain how to design unit tests to evaluate how the Object Oriented Programming (OOP) classes of the assignment have been programmed. In this paper, we focus on the Python programming language (rather than using Java as other works of literature). In addition, we present a real case of practical laboratory assignment. We also present their solution and the corresponding unit tests. Finally, we prove the effectiveness of the unit tests by verifying that the results obtained are the same as the evaluation carried out by visual inspection of the students’ code. In addition, we also received positive feedback from students on the work presented in this article. |
|---|