GeeCON Prague 2022: Markus Zimmermann - Rethinking Unit Testing: Automating the Generation of Java..

youtube.com 11 miesięcy temu


In an perfect world, any code we compose would be tested in real time, letting us catch bugs on the fly to compose 100% correct code. Automated test cases can aid us decision closer to this ideal, keeping code behaviour unchangeable and implementations regression-free. Test-driven improvement is simply a step ahead, allowing us to compose better code and extend test suites 1 behaviour at a time. However, all those test cases inactive request to be written manually, a painful time-consuming process that leaves plenty of area for error. Manually written tests frequently tend to be flawed, focusing on the happy way and overlooking corner cases and bugs. In this talk, Markus Zimmermann argues for a fresh way to dramatically improve unit testing. By generating unit tests based on the current implementation automatically alternatively than manually, we can improve productivity and catch bugs on the fly, while code is being written