LIBRISTO
LIBROAMANTO
obrigatório
Faça parte de uma comunidade de amantes de livros de todo o mundo e tenha acesso a uma série de benefícios. Crie uma conta gratuitamente
0
Correio DHL 8.49 € Correio DPD 4.99 € Ponto DPD 4.49 € Correio GLS 5.99 € Correio MRW 5.99 € Ponto GLS 4.99 €

Strategies for Object Pascal Testing

Build Reliable Applications with Practical Unit Tests

Língua InglêsInglês
Livro Capa mole
Livro Strategies for Object Pascal Testing Charles Markwell
Código Libristo: 54400713
Editoras Independently published, novembro 2026
Stop fearing your legacy codebase. Start refactoring and shipping Object Pascal applications with ma... Descrição completa
? points 50 b Em breve Em breve Novo Novo
20.49 €
Reabastecimento esperado Lançamento 08. 11. 2026

Até 30 dias para devoluções

Stop fearing your legacy codebase. Start refactoring and shipping Object Pascal applications with mathematical confidence.

Rapid Application Development in Delphi and Lazarus makes it easy to build high-performance native software quickly. Yet over time, business rules trapped inside form event handlers and global data modules turn productive codebases into brittle monoliths. When a minor change in one unit triggers an unexpected access violation three screens away, software maintenance becomes a slow, high-risk chore.

Strategies for Object Pascal Testing: Build Reliable Applications with Practical Unit Tests bridges the gap between abstract software engineering theory and the daily reality of Delphi and Free Pascal development. Whether you are maintaining a massive twenty-year-old VCL application or building a brand-new cross-platform system in Lazarus, this practical guide shows you step by step how to construct fast, deterministic, and maintainable unit test suites.

Inside this comprehensive guide, you will learn how to:

  • Master the Pascal Testing Landscape: Set up, configure, and automate test projects using DUnit, DUnitX, and FPCUnit across GUI, IDE, and headless console runners.

  • Design Testable Object Pascal Code: Apply the Arrange-Act-Assert pattern, enforce separation of concerns, and move business logic out of visual forms and event handlers.

  • Isolate External Dependencies: Leverage interfaces, dependency injection, in-memory streams, and datasets to test database and file-handling logic in microseconds without touching live servers or physical disks.

  • Build Effective Test Doubles: Write fast, compiler-safe stubs, fakes, and spies in both Delphi and Free Pascal, and understand when to use dynamic mocking libraries like Delphi Mocks.

  • Eliminate Memory Leaks and Flakiness: Integrate FastMM and HeapTrc directly into your test runner, synchronize asynchronous threads safely with bounded events, and make time-dependent logic completely deterministic.

  • Refactor Legacy Code Safely: Use characterization tests and the Extract and Override technique to bring untested monolithic routines under automated test coverage in small, safe increments.

  • Automate Continuous Integration: Compile and execute test suites from the command line using MSBuild and lazbuild, generating NUnit XML reports for GitHub Actions, GitLab CI, Jenkins, and Azure DevOps.


Complete with a quick-reference assertion guide, cross-compiler compatibility patterns for shared Delphi and Free Pascal codebases, and ready-to-use test templates, this book is the essential manual for serious Object Pascal engineers.

Transform your workflow from reactive debugging to proactive software architecture today.

Atriz & Poliglota
EWA KASP para
Reproduzir vídeo
Ewa Kasp
A Libristo tem a maior seleção de literatura estrangeira. É por isso que compro os meus livros aqui.

Sobre o livro

Nome completo Strategies for Object Pascal Testing
Língua Inglês
Encadernação Livro - Capa mole
Data de emissão 2026
Número de páginas 392
EAN 9798167530003
Código Libristo 54400713
Peso 524
Dimensões 152 x 229 x 20
Ofereça este livro hoje
É fácil
1 Adicione ao carrinho e escolha Entregar como presente ao finalizar a compra 2 Receberá um vale 3 O livro chegará ao endereço do destinatário

Iniciar sessão

Inicie sessão na sua conta. Não tem uma conta Libristo? Crie uma agora!

 
obrigatório
obrigatório

Não tem uma conta? Descubra os benefícios de ter uma conta Libristo!

Com uma conta Libristo, terá tudo sob controlo.

Crie uma conta Libristo
Conselheiro de livros Libroamiko
Olá, sou o Libroamiko, posso ajudar?