Strategy and Methodology of Unit Testing for GUI Software Based on Dynamic “Pair-Wise” Mode
- 1 School of Software (School of Computer), University of South China, Hengyang, China
- 2 School of Software (School of Computer), University of South China, Hengyang, China
- 3 School of Mechanical Engineering, University of South China, Hengyang, China
- 4 University of South China, Hengyang, China
Abstract
In order to effectively organize and control the unit testing activity, the strategy and methodology of unit testing have been investigated to assure the unit quality of software. Facing challenges of unit testing for GUI software, we proposed our strategy and methodology including dynamic testing organization strategy, incremental updating strategy of testing process, “Layer unit testing” definition and methodology of GUI unit testing, and distinguished “Triple-step method” with two factual examples. For a bit of necessities, some measures of dealing with difficulties in traditional unit testing were proposed. Additionally, we discussed some effective interaction aspects between testing and programming to improve testing efficiency for GUI software. These strategies and methodologies have generally been verified and tested by factual software testing practice or testing experimentation.
- Runeson, P. and Höst, M. (2008) Guidelines for Conducting and Reporting Case Study Research in Software Engineering. Empirical Software Engineering , 14, 131-164. https://doi.org/10.1007/s10664-008-9102-8
- Li, F. (2016) Software Testing Technology. China Machine Press.
- Myers, G.J. (1979) The Art of Software Testing. John Wiley and Sons Inc.
- Fu, B. (2014) Course of Software Testing. Tsinghua University Press.
- Tamres, L. (2002) Introducing Software Testing. Pearson Education Inc.
- Patton, R. (2006) Software Testing. 2nd Edition, Pearson Education Inc.
- Boehm, B.W. (1981) Software Engineering Economics. Prentice-Hall.
- TanLi, M., Zhang, Y. and Wang, Y.L. (2022) Architecture and Methodology of Unit Testing Embedding Pair-Wise Mode for Small Team. Journal of Software Engineering and Applications , 15, 385-405. https://doi.org/10.4236/jsea.2022.1511022
- Tanli, M., Xiao, J. and Zhang, Y. (2023) Strategy and Methodology of Integration Testing for GUI Software. Journal of Software Engineering and Applications , 16, 361-396. https://doi.org/10.4236/jsea.2023.168019
- Tanli, M., Xiao, J. and Zhang, Y. (2023) Guideline of Test Suite Construction for GUI Software Centered on Grey-Box Approach. Journal of Software Engineering and Applications , 16, 113-143. https://doi.org/10.4236/jsea.2023.165007
- Tanli, M., Zhang, Y., Jiang, Y., et al . (2021) Baseline Test Suite Construction of Smoke Test for Extreme Programming. Proceedings of 2021 International Conference on Communication Engineering and Logistics Management , Changsha, 24-26 July 2021, 151-158.
- Tanli, M., Zhang, Y., Wang, Y. and Jiang, Y. (2021) Grey-Box Technique of Software Integration Testing Based on Message. Journal of Physics : Conference Series , 2025, Article ID: 012096. https://doi.org/10.1088/1742-6596/2025/1/012096
- Alégroth, E. and Feldt, R. (2017) On the Long-Term Use of Visual Gui Testing in Industrial Practice: A Case Study. Empirical Software Engineering , 22, 2937-2971. https://doi.org/10.1007/s10664-016-9497-6
- Memon, A.M. (2002) GUI Testing: Pitfalls and Process. Computer , 35, 87-88. https://doi.org/10.1109/mc.2002.1023795
- Tang, D., TanLi, M., Jiang, Y., Wan, X. and Peng, R. (2019) Product Quality Monitoring of Shewhart Chart Based on Function Integration for Manufacturing Factory. Journal of Physics : Conference Series , 1302, Article ID: 042044. https://doi.org/10.1088/1742-6596/1302/4/042044