Testing Legacy Code Elliotte by Rusty Harold

  Рет қаралды 20,196

Devoxx

Devoxx

Күн бұрын

Пікірлер: 12
@flamingg1
@flamingg1 8 жыл бұрын
Brilliant - no wonder Google is ahead of the rest out there with guys like Rusty around
@BangsarRia
@BangsarRia 4 ай бұрын
Recently, in a large Java codebase that had no automated tests of any kind, I found API methods that were not called from anywhere in the Git repos and the terminology in the methods did not match. I did not want to waste substantial time writing tests and refactoring this code if it wasn't used. I asked a dev team in another country and fortunately they knew that their code called these methods by composing JSon strings from DB tables into scripts that were interpreted by the MVEL interpreter and then invoked by it. So, as ERH predicts in the video, I found substantial snippets of dead code to remove, but the seemingly dead API methods were actually relied upon by an application in another country that used the framework and added extensive subclasses for local logic.
@InvitusCode
@InvitusCode 4 жыл бұрын
I hope this Video will help me... At this moment, I am working on the nightmare legacy code project (12 years development, no documentation, no testing, few comments in code) ... This is so frustrating. Before this fucked up task, i really liked my job :( Have a good day, greetings from software hell!
@nathantorquato9777
@nathantorquato9777 3 жыл бұрын
so.. did it help you?
@SylvainBrunerie
@SylvainBrunerie 3 жыл бұрын
I feel you, I’ve been in the same situation for a few years… I’m just starting to realize refactoring legacy code is a whole different skill as writing new code, and videos like this one really helped. Just today I managed to get myself out of despair working on a specific function, methodically refactoring it step by step until I felt comfortable changing its behaviour. It can actually be a great feeling! I still have a lot to learn, but I think one of the keys is to stop banging your head against the walls and slowly, methodically, bring the function to a manageable state before trying to add a feature/change behaviour.
@roosterslab678
@roosterslab678 3 жыл бұрын
I can hear and understand him at 2x also ...clear voice 👌
@TheodoreRavindranath
@TheodoreRavindranath 2 жыл бұрын
Seems the video title is wrong... should be "Testing Legacy Code" by Elliotte Rusty Harold
@pablohernandez4305
@pablohernandez4305 2 жыл бұрын
Thanks for this great video.
@SylvainBrunerie
@SylvainBrunerie 4 жыл бұрын
What is this browser that doesn’t remember zoom level in between pages?… Weird
@Nemethszyszy
@Nemethszyszy 2 жыл бұрын
Haha, exactly. I was also wondering what's this. At the same time I liked the simplicity of the slides and zooming all the time just made me realize that more.
@BaronVonTacocat
@BaronVonTacocat 6 жыл бұрын
@48:13 I came here because I was reading that book! LOLZ
@siros4207
@siros4207 7 жыл бұрын
excellent
Effective Unit Testing by Eliotte Rusty Harold
48:10
Devoxx
Рет қаралды 104 М.
Thinking In Parallel by Stuart Marks and Brian Goetz
1:00:04
I tricked MrBeast into giving me his channel
00:58
Jesser
Рет қаралды 25 МЛН
When mom gets home, but you're in rollerblades.
00:40
Daniel LaBelle
Рет қаралды 110 МЛН
Family Love #funny #sigma
00:16
CRAZY GREAPA
Рет қаралды 20 МЛН
这是自救的好办法 #路飞#海贼王
00:43
路飞与唐舞桐
Рет қаралды 79 МЛН
Continuous Delivery for Legacy Code - Richard Groß - NDC London 2024
48:37
TDD: The Bad Parts - Matt Parker
30:17
VMware Tanzu
Рет қаралды 54 М.
Twelve Ways to Make Code Suck Less by Venkat Subramaniam
1:00:44
Property-Based Testing for everyone by Romeu Moura
49:03
Devoxx
Рет қаралды 10 М.
Write awesome tests by Jeroen Mols
46:26
Devoxx
Рет қаралды 20 М.
I tricked MrBeast into giving me his channel
00:58
Jesser
Рет қаралды 25 МЛН