Code Contracts ja ComTest-yksikkötestausgenerointi .NET-kielissä
Opetuksen tehostamiseen suunnattu työkalu ComTest osaa luoda yksikkötestejä koodin kommentteihin kirjoitettujen ohjeiden perusteella. Sopimuspohjaisessa suunnittelussa olion metodeille asetetaan ehtoja, joiden on oltava voimassa ennen operaation suorittamista tai sen jälkeen. Tällaiset ehdot voidaan automaattisesti kirjoittaa osaksi koodin kommentteja. Code Contracts on laajennos .NET-kieliin, jonka avulla sopimuspohjainen suunnittelu saadaan osaksi sovelluskehitystä. Tutkimuksessa selvitetään, miten ComTest ja Code Contracts liittyvät toisiinsa. ComTest, a tool mainly directed to make teaching more efficient, is able to create Unit Tests based on directions written in the code comments. In Coding by Contracts, conditions are set to the classes methods that have to be valid before executing the operation or after it. This kind of conditions can be appended to the code comments by the compiler software. Code Contracts is an add-on to .NET-languages, which brings Coding by Contracts into the software development. This research investigates how ComTest and Code Contracts relate to each other.
Keywords
Metadata
Show full item recordCollections
- Kandidaatintutkielmat [5362]
License
Related items
Showing items with similar title or keywords.
-
A design framework and principles for co-designing learning environments fostering learning and wellbeing
Mäkelä, Tiina (University of Jyväskylä, 2018)Increased understanding of the complex synergetic influences of psychosocial and physical learning environments (LEs) on learning and wellbeing has drawn attention to their careful design. Contemporary learner-centred ... -
A Framework for a Smart City Design : Digital Transformation in the Helsinki Smart City
Hämäläinen, Mervi (Springer, 2020)Recently, there has been substantial interest in the concept of a smart city, as it has been a viable solution to the dilemmas created by the urbanization of cities. Digital technologies—such as Internet-of-Things, artificial ... -
Developing a Pedagogical Framework and Design Principles for STEM Learning Environment Design
Mäkelä, Tiina; Fenyvesi, Kristof; Mäki-Kuutti, Matias (J-STEM, 2020)The need for effective and attractive learning environments (LEs) for science, technology, engineering, and mathematics (STEM) has been internationally recognized. Additionally, the connection between STEM learning and ... -
Design Framework and Principles for Learning Environment Co-Design : Synthesis from Literature and Three Empirical Studies
Mäkelä, Tiina; Leinonen, Teemu (MDPI AG, 2021)The need for environments conducive to learning and wellbeing has been broadly recognised. Considering particularly learner perceptions in the learning environment design is known to improve both their learning and wellbeing. ... -
Socio-emotional Experience in Human Technology Interaction Design : A Fashion Framework Proposal
Rousi, Rebekah; Alanen, Hanna-Kaisa (Springer International Publishing, 2021)Technology designers and developers can be understood as social experience (SE) mediators. In user experience (UX), notions of SE have served to identify and define the factors contributing to human-technology interaction ...