当前位置:网站首页>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
边栏推荐
- els 方块向左移动条件判断
- 【异常】The field file exceeds its maximum permitted size of 1048576 bytes.
- Discussion on Service Commitment of Class Objects under Multithreading
- The distance value between two arrays of LeetCode simple questions
- LeetCode simple problem to find the subsequence of length K with the largest sum
- MP使用时的几个常见报错
- 11. Redis implements follow, unfollow, and follow and follower lists
- Crypto Firms Offer Offer To Theft Hackers: Keep A Little, Give The Rest
- STM32问题合集
- 10. Redis implements likes (Set) and obtains the total number of likes
猜你喜欢
随机推荐
【C语言】预处理操作
Discourse Custom Header Links
大小端模式
els 方块向左移动条件判断
注解用法含义
The distance value between two arrays of LeetCode simple questions
Atomic operation CAS
【动态规划】连续子数组的最大和
JetPack component Databinding
原子操作 CAS
mycat的主从关系 垂直分库 水平分表 以及mycat分片联表查询的配置详解(mysql5.7系列)
JS function this context runtime syntax parentheses array IIFE timer delay self.backup context call apply
CloudCompare&PCL 计算两个点云之间的重叠度
[C language foundation] Solve C language error: expected ';', ',' or ')' before '&' token
What is a distributed lock?Three ways of implementing distributed lock
False positives and false negatives in testing are equally worthy of repeated corrections
TCP详解(二)
SocialFi 何以成就 Web3 去中心化社交未来
[Android] Room - Alternative to SQLite
Annotation usage meaning








