Loading

Define – use Testing – An Example
S. Shanmuga Priya

S. Shanmuga Priya, Senior Assistant Professor, Department of Computer Science and Engineering, New Horizon College of Engineering, Bangalore, (Karnataka), India.
Manuscript received on 24 January 2019 | Revised Manuscript received on 30 March 2019 | Manuscript published on 30 January 2019 | PP: 185-194 | Volume-7 Issue-6, March 2019 | Retrieval Number: E1947017519©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: Variables plays significant role in programming and they ease programmers to write their programs flexibly. Variables are used to represent the data in a program. On executing a program, the variables are replaced with the real time values and hence it creates a possibility for a program to process different set of data. They are most predominant ones that involve in computation and bear the intermediate or final values in a program. These values are good enough in deciding the flow of the program and hence there is a necessity for analyzing flows. From the software tester’s perspective, there grows a need to analyze and test those variables structurally. Data-flow testing is a white-box based testing technique that utilizes control flow and data flow through the program for testing. There are two main forms of data flow testing called as define/use testing and slice-based testing. This paper gives a focus on define/use based testing where it uses simple rules that aids in ensuring whether all the variables are defined and used at the appropriate points within the program. It helps the tester in chalking out the values of a variable, recording them and can trace the changes in values within the program. It is done by using a concept of a program graph, which is closely related to the path testing, selected on a specific variable.
Keywords: White-box Testing, Dataflow Testing, Define/Use Testing, du-path, dc-path.
Scope of the Article: Software Defined Networking and Network Function Virtualization