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 ...

Get Expert Delphi now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.