Injection testing backed refactoring

03/28/2022
by   Thomas Mejstrik, et al.
0

Injection-based testing while refactoring is a pattern that minimizes the need for manual editing when altering the behaviour of a code base. Neither does it rely on a compilation or a linking process nor does it make assumptions on the structure of the code. Thus, it can be particularly useful for refactoring code that has been written in scripting languages, and specifically targets the research and engineering context. We describe the pattern and propose a set of functions for its application. The applicability of code injection for refactoring is highlighted via specific examples for deriving unit and integration tests. Finally, we comment on the customizing of the pattern and give practical advice for its implementation.

READ FULL TEXT

page 3

page 4

page 5

page 6

11/18/2019

A Code injection Method for Rapid Docker Image Building

Docker images are built by layers, yet the current implementation has ma...
01/25/2020

Open-source Defect Injection Benchmark Testbed for the Evaluation of Testing

A natural method to evaluate the effectiveness of a testing technique is...
06/12/2022

Evolutionary Multi-Task Injection Testing on Web Application Firewalls

Web application firewall (WAF) plays an integral role nowadays to protec...
03/26/2020

Reduction Theorem for Secrecy over Linear Network Code for Active Attacks

We discuss the effect of sequential error injection on information leaka...
03/31/2021

Analysis of injection operators in multigrid solvers for hybridized discontinuous Galerkin methods

Uniform convergence of the geometric multigrid V-cycle is proven for HDG...
09/04/2015

NoSPaM Manual - A Tool for Node-Specific Triad Pattern Mining

The detection of triadic subgraph motifs is a common methodology in comp...