O'Reilly logo

Expert Delphi by Paweł Głowacki

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Sleeping well with unit testing

Writing code is like solving a big puzzle. The more lines of code you have in your app, the more difficult it is to maintain and evolve. It takes a lot of experience to be able to properly structure your projects. When you add new features, they should not break the functionality of the whole app. Unit testing can help with making sure that every piece of code that you write works as expected. Some developers start writing their code from implementing unit tests that will prove that the code they will write later works.

Delphi IDE comes with two integrated unit test frameworks: DUnit and DUnitX. The first one is older and is not actively maintained. The second one, DUnitX, is newer and is leveraging modern ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required