News Updates Saturday 18th May 2024 :
  • Welcome to INPRESSCO, world's leading publishers, We have served more than 10000+ authors
  • Articles are invited in engineering, science, technology, management, industrial engg, biotechnology etc.
  • Paper submission is open. Submit online or at editor.ijcet@inpressco.com
  • Our journals are indexed in NAAS, University of Regensburg Germany, Google Scholar, Cross Ref etc.
  • DOI is given to all articles

Optimal Refactoring of Test Case at the Design Level


Author : Abdulrahman Issa

Pages : 519-523, DOI: https://doi.org/10.14741/ijcet/v.9.4.5
Download PDF
Abstract

Refactoring is the process of changing a software system aimed at organizing the design of source code, making the system easier to change and less error-prone, while preserving observable behavior. This concept has become popular in Agile software methodologies, such as eXtrerne Programming (XP), which maintains source code as the only relevant software artifact. Refactoring was originally conceived to deal with source code changes. Two key aspects of eXtreme Programming (XP) are unit testing and merciless refactoring. We found that refactoring test code is different from refactoring production code in two ways: (M. B. Cohen et al, 2003) there is a distinct set of bad smells involved, and (John A. Fodeh et al, 2002) improving test code involves additional test code refactoring’s. we describe a set of code smells indicating trouble in test code and a collection of test code refactoring explaining how to overcome some of these problems through a simple program modification. The goal of our present investigations is to share our experience in improving test code with other XP practitioners.

Keywords: Test Smell, Test Case, Refactoring, Unit Testing eXtreme Programming, TDD.

Article published in International Journal of Current Engineering and Technology, Vol.9, No.4 (July/Aug 2019)

Call for Papers
  1. IJCET- May/June 2024 Issue

    Submission Last Date
    30 June 2024
  2. DOI is given to all articles
  3. Current Issue
  4. IJTT-June-2024
  5. IJAIE-June-2024
  6. IJCSB-June-2024
  • Inpressco Google Scholar
  • Inpressco Science Central
  • Inpressco Global impact factor
  • Inpressco aap

International Press corporation is licensed under a Creative Commons Attribution-Non Commercial NoDerivs 3.0 Unported License
©2010-2023 INPRESSCO® All Rights Reserved