EPiT : A Software Testing Tool for Generation of Test Cases Automatically

  IJETT-book-cover  International Journal of Engineering Trends and Technology (IJETT)          
  
© 2020 by IJETT Journal
Volume-68 Issue-7
Year of Publication : 2020
Authors : Rosziati Ibrahim, Ammar Aminuddin Bani Amin, Sapiee Jamel, Jahari Abdul Wahab
DOI :  10.14445/22315381/IJETT-V68I7P202S

Citation 

MLA Style: Rosziati Ibrahim, Ammar Aminuddin Bani Amin, Sapiee Jamel, Jahari Abdul Wahab.  "EPiT : A Software Testing Tool for Generation of Test Cases Automatically" International Journal of Engineering Trends and Technology 68.7(2020):8-12. 

APA Style:Rosziati Ibrahim, Ammar Aminuddin Bani Amin, Sapiee Jamel, Jahari Abdul Wahab. EPiT : A Software Testing Tool for Generation of Test Cases Automatically  International Journal of Engineering Trends and Technology, 68(7),8-12.

Abstract
Software test cases can be defined as a set of condition where a tester needs to test and determine that the System Under Test (SUT) satisfied with the expected result correctly. This paper discusses the optimization technique in generating cases automatically by using EpiT (Eclipse Plug-in Tool). EpiT is developed to optimize the generation of test cases from source code in order to reduce time used for conventional manually creating test cases. By using code smell functionality, EpiT helps to generate test cases automatically from Java programs by checking its line of code (LOC). The implementation of EpiT will also be presented based on several case studies conducted to show the optimization of the test cases generated. Based on the results presented, EpiT is proven to solve the problem for software tester to generate test case manually and check the optimization from the source code using code smell technique.

Reference

[1] Ibaraki, S., Tsujimoto, S., Nagai, Y., Sakai, Y, Morimoto, S., Miyazaki, Y. (2018). “A pyramid-shaped machining test to identify rotary axis error motions on five-axis machine tools: software development and a case study”, International Journal of Advanced Manufacturing Technology, 94(1-4): 227-237, DOI: 10.1007/s00170-017-0906-9
[2] Janczarek, P. and Sosnowski, J. (2015). “Investigating software testing and maintenance reports: Case study”, Information and Software Technology, 58: 272-288, DOI: 10.1016/j.infsof.2014.06.015
[3] Chen, J., Zhu, J., Chen, T.Y., Towey, D., Kuo, F.C., Huang, R., Guo, Y. (2018). “Test case prioritization for objectoriented software: An adaptive random sequence approach based on clustering”, Journal of Systems and Software, 135: 107-125, DOI: 10.1016/j.jss.2017.09.031
[4] Chen, T.-H.,Thomas, S.W.,Hemmati, H., Nagappan, M., Hassan, A.E. (2017). “An Empirical Study on the Effect of Testing on Code Quality Using Topic Models: A Case Study on Software Development Systems”, IEEE Transactions on Reliability, 66(3): 806-824, DOI: 10.1109/TR.2017.2699938
[5] Albert, E. (2011). “jPET: an Automatic Test-Case Generator for Java”. 18th Working Conference on Reverse Engineering, 441-442.
[6] Wang,Z., Liu,Q. (2018). “A Software Test Case Automatic Generation Technology Based on the Modified Particle Swarm Optimization Algorithm”. International Conference on Virtual Reality and Intelligent Systems (ICVRIS). Retrieved November 20, 2019, from: https://ieeexplore.ieee.org/document/8531372
[7] Pei,H., Yin,B., Xie, M. (2018). “Dynamic Random Testing Strategy for Test Case Optimization in Cloud Environment.” IEEE International Symposium on Software Reliability Engineering Workshops (ISSREW). Retrieved November 20, 2019, from: https://ieeexplore.ieee.org/document/8539185
[8] Salihu, I.A., Ibrahim, R., Ahmed, B.S., Zamli, K.Z. Usman, A. (2019). “AMOGA: A Static-Dynamic Model Generation Strategy for Mobile Apps Testing”. IEEE Access. 2019. DOI:10.1109/ACCESS.2019.2895504
[9] Du,Y., Ao, H., Fan, Y., Pan, Y., O.Alex. (2019). “Automatic Test Case Generation and Optimization Based on Mutation Testing.” IEEE 19th International Conference on Software Quality, Reliability and Security Companion (QRS-C). Retrieved December 1, 2019, from: https://ieeexplore.ieee.org/document/8859495
[10] Panichella, A., Kifetew, F. M., and Tonella, P. (2018). “Automated Test Case Generation as a Many-Objective Optimization Problem with Dynamic Selection of the Target”. IEEE Transactions on Software Engineering, Volume: 44, Issue: 2, Feb. 1 2018. Retrieved December 1, 2019, from: https://ieeexplore.ieee.org/document/7840029
[11] Ibrahim, R., Ahmed, M., Jamel, S. (2019). “An Eclipse Plugin Tool for Generating Test Cases from Source Codes”. Proceedings of the 2019 Asia Pacific Information Technology Conference. DOI: 10.1145/3314527.3314535
[12] Xechnologi, (2019).“Calendar Project.” Retrieved December 1, 2019, from: https://github.com/xechnologi/my-repo
[13] Brown,J., (2015). BlackJack. Retrieved December 1, 2019, from: https://github.com/jbbrown93/BlackJack
[14] Behrens, A. (2014). “Coffee Maker”. Retrieved December 1, 2019, from: https://github.com/serious6/CoffeMaker
[15] Strang, T., Bauer, C. (2017). Elevator Scheduling Simulator. Retrieved December 1, 2019 from: https://github.com/00111000/Elevator-Scheduling-Simulator
[16] Ibrahim, R., Ahmed, M., Nayak, R., Jamel, S. (2018). “Reducing redundancy of test cases generation using code smell detection and refactoring”. Journal of King Saud University. DOI: 10.1016/j.jksuci.2018.06.005

Keywords
Software Testing, Test Cases, Code Smell, Source Code, System Optimization, Line of Code;