A Tool for Generation of Automatic Control Flow Graph in Unit Testing of Python Programs
Akhilesh Kumar Srivastava1, Rijwan Khan2, Sneha Jain3
1Akhilesh Kumar Srivastava, Department of Computer Science & Engineering, ABES Engineering College, Ghaziabad (U.P), India.
2Rijwan Khan, Department of Computer Science & Engineering, ABES Engineering College, Ghaziabad (U.P), India.
3Sneha Jain, Department of Computer Science & Engineering, ABES Engineering College, Ghaziabad (U.P), India.
Manuscript received on 18 June 2019 | Revised Manuscript received on 25 June 2019 | Manuscript published on 30 June 2019 | PP: 1178-1184 | Volume-8 Issue-5, June 2019 | Retrieval Number: E7429068519/19©BEIESP
Open Access | Ethics and Policies | Cite | Mendeley | Indexing and Abstracting
© The Authors. Blue Eyes Intelligence Engineering and Sciences Publication (BEIESP). This is an open access article under the CC-BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/)
Abstract: Software Testing (ST) is procedure of discovery out whether the application meet specified requirement or not. It is most important to deliver a reliable and error free software to customer. For the same software should be tested on site. To do this task testing is performed on the software before delivering it. A lot of efforts and money is involved in the testing process. Testing can be done by manual as well as automatically. In automatic testing process unit testing has a role. For the unit testing path testing should be performed. Path testing is a process to check all def-use of variables. So it is more important to generate a correct Control Flow Graph (CFG) for a particular program. In this paper authors develop a tool in Python to generate a CFG automatically for a python program. This tool also finds all the paths from starting to end. This tool will help researchers in unit testing of a particular program.
Keywords: Control Flow Graph (CFG), Software Testing (ST), Unit Testing (UT), Automatic CFG Generator Tool, Path Testing.
Scope of the Article: Test Automation