Tracking IT Professionals’ Emotion, Cognition, and Motivation Development While Deriving Unit Tests Systematically
DOI:
https://doi.org/10.34148/teknika.v15i3.1578Keywords:
Developer Experience, Unit Test Derivation, Longitudinal Mixed-Methods, Self-Efficacy, Cognition-Motivation DevelopmentAbstract
Developers now face growing pressure to master a systematic approach for writing unit tests. Limited evidence shows how their emotions, cognition, and motivation develop as they learn this process. This study followed 29 IT professionals (26 completed all waves) in a graduate-level Information Systems Requirements Analysis and Design course over eight weeks, and data were collected across four waves: baseline or pre-training (T1), post-training (T2), early adoption (T3), and final synthesis (T4). A mixed-methods design was used. This study quantitatively measured positive and negative emotions, interest and enjoyment, effort and importance, self-efficacy, and knowledge mastery. Reflective journals were analyzed thematically. Four of the six quantitative scales showed a significant change based on repeated-measures ANOVA. Positive emotions and interests developed in a staircase pattern and stabilized during the T2-T3 transition. Self-efficacy and knowledge mastery rose across the three measured waves (T1, T3, T4). Negative emotions and effort/importance showed non-significant changes. Thematic analysis of the journals produced five themes. Compared with the quantitative results, one theme on protocol direction matched closely in both direction and trend. The testing reconceptualization theme matched only in direction. The quantitative justifications and deeper system understanding themes could not be verified, since their corresponding scales were not measured at T2. An ambivalent theme (challenging and enjoyable) ran opposite to its scale. Because the study had no comparison group, these changes are descriptive rather than causal estimates of the protocol’s effect, but they indicate when follow-up support is most useful.
Downloads
References
[1] ISO/IEC 25010:2023, Systems and software engineering — Systems and software Quality Requirements and Evaluation (SQuaRE) — Product quality model. Geneva: International Organization for Standardization, 2023.
[2] ISO/IEC/IEEE 29119-1:2022, Software and systems engineering — Software testing — Part 1: General concepts. Geneva: International Organization for Standardization, 2022.
[3] H. A. Ramzan, S. Ramzan, and T. Kalsum, “Test-Driven Development (TDD) in Small Software Development Teams: Advantages and Challenges,” in 2024 5th International Conference on Advancements in Computational Sciences (ICACS), Lahore, Pakistan: IEEE, Feb. 2024, pp. 1–5. doi: 10.1109/ICACS60934.2024.10473291.
[4] A. J. H. Simons, N. Griffiths, and C. Thomson, “Feedback-Based Specification, Coding and Testing with JWalk,” in Testing: Academic & Industrial Conference - Practice and Research Techniques (taic part 2008), IEEE, Aug. 2008, pp. 69–73. doi: 10.1109/TAIC-PART.2008.20.
[5] R. Habarneh, H. Fawareh, and G. Albesani, “Scenario-Driven Software Testing: Comparative Analysis of Manual and AI-Based Test Case Generation,” in 2025 26th International Arab Conference on Information Technology (ACIT), IEEE, Dec. 2025, pp. 291–294. doi: 10.1109/ACIT68900.2025.11510542.
[6] V. Bakhtiary, T. J. Gandomani, and A. Salajegheh, “The effectiveness of test-driven development approach on software projects: A multi-case study,” Bulletin of Electrical Engineering and Informatics, vol. 9, no. 5, pp. 2030–2037, Oct. 2020, doi: 10.11591/eei.v9i5.2533.
[7] B. Papis, K. Grochowski, K. Subzda, and K. Sijko, “Experimental Evaluation of Test-Driven Development With Interns Working on a Real Industrial Project,” IEEE Transactions on Software Engineering, vol. 48, no. 5, pp. 1644–1664, May 2022, doi: 10.1109/TSE.2020.3027522.
[8] Z. Wang, X. Guo, and T. Tsuchiya, “Graph-Centric Approaches for Coverage Optimization in Software Requirement Testing,” in 2025 IEEE 49th Annual Computers, Software, and Applications Conference (COMPSAC), IEEE, Jul. 2025, pp. 1270–1280. doi: 10.1109/COMPSAC65507.2025.00160.
[9] F. Taufiqurrahman, S. Widowati, and M. J. Alibasa, “The Impacts of Test Driven Development on Code Coverage,” in 2022 1st International Conference on Software Engineering and Information Technology (ICoSEIT), IEEE, Nov. 2022, pp. 46–50. doi: 10.1109/ICoSEIT55604.2022.10030006.
[10] Md. S. Rahman, A. Kumar Saha, U. Chakraborty, H. T. Sujana, and S. M. A. Shafi, “Evaluating the impact of Test-Driven Development on Software Quality Enhancement,” International Journal of Mathematical Sciences and Computing, vol. 10, no. 3, pp. 51–76, Sep. 2024, doi: 10.5815/ijmsc.2024.03.05.
[11] E. R. Hilgard, “The trilogy of mind: Cognition, affection, and conation,” J. Hist. Behav. Sci., vol. 16, no. 2, pp. 107–117, Apr. 1980, doi: 10.1002/1520-6696(198004)16:2<107::AID-JHBS2300160202>3.0.CO;2-Y.
[12] W. G. Huitt and S. C. Cain, “An overview of the conative domain. Educational Psychology Interactive,” 2005. Accessed: Oct. 13, 2026. [Online]. Available: http://www.edpsycinteractive.org/brilstar/chapters/conative.pdf
[13] K. Kaur, A. Mishra, and P. Chopra, “Emotional Dynamics in Software Engineering: A Comprehensive Review of Cognitive Skills and Affective States,” in Proceedings of International Conference on Computing Systems and Intelligent Applications, A. Jaiswal, S. Anand, A. E. Hassanien, and A. T. Azar, Eds., Singapore: Springer Nature Singapore, 2026, pp. 803–824.
[14] E. Enoiu, G. Tukseferi, and R. Feldt, “Towards a Model of Testers’ Cognitive Processes: Software Testing as a Problem Solving Approach,” in 2020 IEEE 20th International Conference on Software Quality, Reliability and Security Companion (QRS-C), IEEE, Dec. 2020, pp. 272–279. doi: 10.1109/QRS-C51114.2020.00053.
[15] E. P. Enoiu, G. Gay, J. Esber, and R. Feldt, “Understanding Problem Solving in Software Testing: An Exploration of Tester Routines and Behavior,” in (eds) Testing Software and Systems. ICTSS 2023. Lecture Notes in Computer Science, vol. 14131 LNCS, Springer, Cham, 2023, pp. 143–159. doi: 10.1007/978-3-031-43240-8_10.
[16] L. Silva, M. Lima, and H. Madeira, “Emotional Awareness in Software Development: Evaluating Software Project Managers’ Perspectives,” IEEE Access, vol. 13, pp. 168268–168286, 2025, doi: 10.1109/ACCESS.2025.3613682.
[17] K. Madampe, R. Hoda, and J. Grundy, “The Emotional Roller Coaster of Responding to Requirements Changes in Software Engineering,” IEEE Transactions on Software Engineering, vol. 49, no. 3, pp. 1171–1187, Mar. 2023, doi: 10.1109/TSE.2022.3172925.
[18] N. Atman Uslu and A. Onan, “Exploring students’ emotions towards programming: Analysing sentiments using concurrent conversion mixed methods,” Educ. Inf. Technol. (Dordr)., vol. 30, no. 14, pp. 19879–19909, Sep. 2025, doi: 10.1007/s10639-025-13482-z.
[19] M. Gruber and G. Fraser, “A Survey on How Test Flakiness Affects Developers and What Support They Need To Address It,” in 2022 IEEE Conference on Software Testing, Verification and Validation (ICST), IEEE, Apr. 2022, pp. 82–92. doi: 10.1109/ICST53961.2022.00020.
[20] O. Parry, G. M. Kapfhammer, M. Hilton, and P. McMinn, “Surveying the developer experience of flaky tests,” in Proceedings of the 44th International Conference on Software Engineering: Software Engineering in Practice, New York, NY, USA: ACM, May 2022, pp. 253–262. doi: 10.1145/3510457.3513037.
[21] M. R. K. Pratama, D. Utama, and R. Fahmi, “Test-First Protocol for Deriving Unit Tests from Use Case Specifications,” Jurnal Nasional Teknik Elektro dan Teknologi Informasi, vol. 15, no. 1, pp. 72–80, Feb. 2026, doi: 10.22146/jnteti.v15i1.24073.
[22] N. Yahaya, N. S. M. Yusop, and M. M. Rosli, “Is Human Factors Being Studied in Software Testing?: Review of the Literature,” in 2023 IEEE 8th International Conference on Recent Advances and Innovations in Engineering (ICRAIE), IEEE, Dec. 2023, pp. 1–6. doi: 10.1109/ICRAIE59459.2023.10468409.
[23] M. Swillus, R. Hoda, and A. Zaidman, “On the emergence of testing strategies: A socio-technical grounded theory,” Empir. Softw. Eng., vol. 31, no. 5, p. 147, Sep. 2026, doi: 10.1007/s10664-026-10828-0.
[24] M.-A. Storey, R. Hoda, A. Maciel Paz Milani, and M. T. Baldassarre, “Guiding principles for mixed methods research in software engineering,” Empir. Softw. Eng., vol. 30, no. 5, p. 138, Sep. 2025, doi: 10.1007/s10664-025-10629-x.
[25] A. Mackinnon, A. F. Jorm, H. Christensen, A. E. Korten, P. A. Jacomb, and B. Rodgers, “A short form of the Positive and Negative Affect Schedule: evaluation of factorial validity and invariance across demographic variables in a community sample,” Pers. Individ. Dif., vol. 27, no. 3, pp. 405–416, Sep. 1999, doi: 10.1016/S0191-8869(98)00251-7.
[26] D. Watson, L. A. Clark, and A. Tellegen, “Development and validation of brief measures of positive and negative affect: The PANAS scales.,” J. Pers. Soc. Psychol., vol. 54, no. 6, pp. 1063–1070, Jun. 1988, doi: 10.1037/0022-3514.54.6.1063.
[27] A. Bandura, “Guide for Creating Self-Efficacy Scale,” in Self-Efficacy Beliefs of Adolescents, F. Pajares and T. Urdan, Eds., Emerald Publishing Limited, 2006, pp. 307–337. doi: 10.1108/978-1-60752-750-3.
[28] E. McAuley, T. Duncan, and V. V. Tammen, “Psychometric Properties of the Intrinsic Motivation Inventory in a Competitive Sport Setting: A Confirmatory Factor Analysis,” Res. Q. Exerc. Sport, vol. 60, no. 1, pp. 48–58, Mar. 1989, doi: 10.1080/02701367.1989.10607413.
[29] R. Bakeman, “Recommended effect size statistics for repeated measures designs,” Behav. Res. Methods, vol. 37, no. 3, pp. 379–384, Aug. 2005, doi: 10.3758/BF03192707.
[30] V. Braun and V. Clarke, “Using thematic analysis in psychology,” Qual. Res. Psychol., vol. 3, no. 2, pp. 77–101, Jan. 2006, doi: 10.1191/1478088706qp063oa.
[31] M. D. Fetters, L. A. Curry, and J. W. Creswell, “Achieving Integration in Mixed Methods Designs—Principles and Practices,” Health Serv. Res., vol. 48, no. 6pt2, pp. 2134–2156, Dec. 2013, doi: 10.1111/1475-6773.12117.
[32] J. C. Nunnally, Psychometric Theory, 2nd ed. New York, NY: McGraw-Hill, 1978.
[33] G. M. Fastrich and K. Murayama, “Development of Interest and Role of Choice During Sequential Knowledge Acquisition,” AERA Open, vol. 6, no. 2, Apr. 2020, doi: 10.1177/2332858420929981.
[34] C. Schrader and S. Kalyuga, “Expertise reversal effect in a pen‐tablet‐based learning environment: The role of learning-centered emotions in the interplay between learner expertise and task complexity,” British Journal of Educational Psychology, vol. 93, no. S2, pp. 270–286, Aug. 2023, doi: 10.1111/bjep.12547.
[35] D. B. Thoman, J. L. Smith, and P. J. Silvia, “The Resource Replenishment Function of Interest,” Soc. Psychol. Personal. Sci., vol. 2, no. 6, pp. 592–599, Nov. 2011, doi: 10.1177/1948550611402521.
[36] A. Shum and L. K. Fryer, “Examining short-term self-efficacy change connections with performance, perceived difficulty, and interest,” Learn. Instr., vol. 101, p. 102223, Feb. 2026, doi: 10.1016/j.learninstruc.2025.102223.
[37] F. Núñez-Regueiro et al., “I Feel Competent, Therefore I Am: Self-concept and Skill Interact at Different Speeds,” Educ. Psychol. Rev., vol. 38, no. 1, p. 39, Dec. 2026, doi: 10.1007/s10648-026-10131-w.
[38] S. Avdiaj and R. Paçarizi, “Teachers’ Attitudes Towards Self-Efficacy in the Compilation of Tests According to Bloom’s Taxonomy Framework,” Journal of Educational and Social Research, vol. 14, no. 6, p. 223, Nov. 2024, doi: 10.36941/jesr-2024-0167.
[39] E. Dorsah, A. K. Ampah-Mensah, R. Asumadu, T. A. Achido, and C. Ayew-Sam, “Modeling Pre-service Management Teachers’ Professional Knowledge and Self-efficacy in Teaching: An Implication Study for Quality Education,” International Journal of Educational Reform, May 2026, doi: 10.1177/10567879261448917.
[40] R. Sutarmina, J. Costley, A. Gorbunova, and C. Lange, “Examining the relationship between self-regulated effort and maintained situational interest in an online learning environment,” Educ. Inf. Technol. (Dordr)., vol. 30, no. 3, pp. 3443–3462, Feb. 2025, doi: 10.1007/s10639-024-12920-8.
[41] J. Cohen, Statistical Power Analysis for the Behavioral Sciences. Routledge, 1988. doi: 10.4324/9780203771587.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Teknika

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.















