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

research
11/18/2019

A Code injection Method for Rapid Docker Image Building

Docker images are built by layers, yet the current implementation has ma...
research
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...
research
06/12/2022

Evolutionary Multi-Task Injection Testing on Web Application Firewalls

Web application firewall (WAF) plays an integral role nowadays to protec...
research
05/04/2023

Faulting original McEliece's implementations is possible: How to mitigate this risk?

Private and public actors increasingly encounter use cases where they ne...
research
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...
research
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...
research
12/05/2020

Optimal polymer slugs injection curves

In the paper we study miscible injection of liquids with decreasing visc...

Please sign up or login with your details

Forgot password? Click here to reset