当前位置:网站首页>Automation strategies for legacy systems
Automation strategies for legacy systems
2022-07-31 03:11:00 【CrissChan】
Automation strategies for legacy systems
Wikipedia: A legacy system is an old method, old technology, old computer system or application that "belongs to or is related to a previous, outdated computer system" but is still in use.Often, referring to a system as a "legacy system" means that it may be outdated or in need of replacement.
What kind of system is a legacy system
Martin Fowler said Let's face it, all we are doing is writing tomorrow's legacy software today. This statement speaks to the harsh reality that every line of code our team writes now ends up being code for legacy systems.The disguised description shows that every R&D engineer is inseparable from the fate of transforming legacy systems.From Martin Fowler's description of legacy systems, we can easily see that legacy systems are not only measured by the time between the first line of code and the current time, but also include code quality, architectural design, DevOps pipelines, support systems, etc..The code quality of many legacy systems is very poor, and there are no automated quality assurance activities such as unit testing, API automated testing, and UI automated testing; the architectural design is chaotic, and various design methods and technologies are intertwined; there is no delivery pipeline, and all delivery processes areRelying on a few R&D engineers and other issues is the pain point that legacy systems need to face.
Michael Feathers defines a legacy system in his book Morking Bfectively with Legacy Code: A system without automated tests is a legacy system.Although this definition is not shared by everyone, it is enough to see that a legacy system without automated testing is a disaster for the development engineers involved in the modification.So for a legacy system, it is not always possible to start the refactoring method to complete the improvement of the project. It is also a good way to solve the pain points of legacy system changes by making up for automated testing.
How a legacy system without automated tests can make up for it
The overriding principle of legacy systems complementing automated testing practices is "let the automation test the code you change".This sentence guides all of us
边栏推荐
猜你喜欢
10 Permission introduction
Getting Started with CefSharp - winform
CefSharp入门-winform
【动态规划】连续子数组的最大和
【异常】The field file exceeds its maximum permitted size of 1048576 bytes.
YOLOV5 study notes (2) - environment installation + operation + training
Chapter 9 SVM实践
Discourse Custom Header Links
7、私信列表
11. Redis implements follow, unfollow, and follow and follower lists
随机推荐
2022 Nioke Multi-School League Game 4 Solution
【C语言】进制转换一般方法
【异常】The field file exceeds its maximum permitted size of 1048576 bytes.
LeetCode简单题之找到和最大的长度为 K 的子序列
IDEA 注释报红解决
How to build a private yum source
[Android] Room - Alternative to SQLite
CefSharp入门-winform
TCP详解(一)
11、Redis实现关注、取消关注以及关注和粉丝列表
[Compilation principle] Lexical analysis program design principle and implementation
【C语言】表达式求值的一般方法
Observer pattern
False positives and false negatives in testing are equally worthy of repeated corrections
分布式锁以及实现方式三种
Software accumulation -- Screenshot software ScreenToGif
Discourse 自定义头部链接(Custom Header Links)
LeetCode simple problem to find the subsequence of length K with the largest sum
SQL 面试用题(重点)
接口测试关键技术