Testing Legacy Code Elliotte by Rusty Harold

  Рет қаралды 19,724

Devoxx

Devoxx

Күн бұрын

You've been bitten by the testing bug, are thoroughly test infected. Excellent! You're undoubtedly producing more robust, less buggy software faster and at lower cost. Sadly, it wasn't always this way. You're saddled with a large legacy of untested code. Test first development is not an option. Nonetheless unit testing, JUnit, and test driven development can still dramatically improve your maintenance tasks. Learn strategies for retrofitting test frameworks onto existing code, and developing a test suite for code that never had one before.
Elliotte Rusty Harold
When not laboring in his secret identity of a mild-mannered software developer, Elliotte Rusty Harold lives in a secret mountaintop laboratory on a large island off the East Coast of the United States with his wife Beth and dog Thor. His open source work includes the XOM library for processing XML with Java, the Amateur Media Player, and Google Cloud Tools for Eclipse. His most recent books are Java Network Programming, 4th edition, and JavaMail API, both from O’Reilly.
[RMS-3799]

Пікірлер: 12
@BangsarRia
@BangsarRia 2 күн бұрын
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.
@flamingg1
@flamingg1 7 жыл бұрын
Brilliant - no wonder Google is ahead of the rest out there with guys like Rusty around
@InvitusCode
@InvitusCode 3 жыл бұрын
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 2 жыл бұрын
so.. did it help you?
@SylvainBrunerie
@SylvainBrunerie 2 жыл бұрын
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 2 жыл бұрын
I can hear and understand him at 2x also ...clear voice 👌
@pablohernandez4305
@pablohernandez4305 2 жыл бұрын
Thanks for this great video.
@BaronVonTacocat
@BaronVonTacocat 5 жыл бұрын
@48:13 I came here because I was reading that book! LOLZ
@SylvainBrunerie
@SylvainBrunerie 3 жыл бұрын
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.
@siros4207
@siros4207 7 жыл бұрын
excellent
@TheodoreRavindranath
@TheodoreRavindranath Жыл бұрын
Seems the video title is wrong... should be "Testing Legacy Code" by Elliotte Rusty Harold
TDD: The Bad Parts - Matt Parker
30:17
VMware Tanzu
Рет қаралды 53 М.
RailsConf 2014 - All the Little Things by Sandi Metz
38:47
Confreaks
Рет қаралды 169 М.
Watermelon Cat?! 🙀 #cat #cute #kitten
00:56
Stocat
Рет қаралды 20 МЛН
Effective Unit Testing by Eliotte Rusty Harold
48:10
Devoxx
Рет қаралды 101 М.
ARRAYLIST VS LINKEDLIST
21:20
Core Dumped
Рет қаралды 48 М.
Object-Oriented Programming is Bad
44:35
Brian Will
Рет қаралды 2,3 МЛН
Java Performance Puzzlers by Douglas Hawkins
46:49
Devoxx
Рет қаралды 28 М.
lofi hip hop radio 📚 - beats to relax/study to
Lofi Girl
Рет қаралды 16 М.
All Rust features explained
21:30
Let's Get Rusty
Рет қаралды 282 М.
Light effect sample from Orillusion community using WebGPU
0:12
Designing for Performance by Martin Thompson
56:56
Devoxx
Рет қаралды 15 М.
The mind behind Linux | Linus Torvalds | TED
21:31
TED
Рет қаралды 6 МЛН
ПРОБЛЕМА МЕХАНИЧЕСКИХ КЛАВИАТУР!🤬
0:59
Корнеич
Рет қаралды 3,8 МЛН
Очиститель экрана • 160418185                       Делюсь обзорами в профиле @lykofandrei
0:14
Carregando telefone com carregador cortado
1:01
Andcarli
Рет қаралды 2,5 МЛН
How charged your battery?
0:14
V.A. show / Магика
Рет қаралды 4,4 МЛН