Category Archives: TDD

Citcon Paris 2009

By Paul Lorena Continous Integration is one of the base in Agile development, this suppose to deploy the tests and run them to verify all the functionality of your application. Beyond this very restrictive technical aspect, there is a strong … Continue reading

Posted in TDD, Test driven development | Tagged , | 1 Comment

TDD techniques : Mocking "If you can’t beat them, mock them"*

By Paul Lorena *Title taken from  ISerializable – Roy Osherove’s Blog : Geeky T-Shirt ideas  Introduction In Test Driven Development (TDD) you need to isolate one function or method to test is, it’s good so far. Usually a method has … Continue reading

Posted in CSharp, Design patterns, Development, Mock, TDD, Test driven development | Leave a comment

How to validate a XML file with a Document Type Definition (DTD)?

By Paul Lorena Introduction We’ve saw in the previous post how to create a DTD, in this post we’ll test a XML file, this is important because in a SOA application the clients are (usually) outsiders, we can communicate data … Continue reading

Posted in TDD | Leave a comment

04. TDD Project : HP48 Emulator in Csharp (Codename : ARISTON) Refactoring : Stack management

By : Paul Lorena The stack has the function of store each item for all the RPL operations, functionally the memory is a stack as far, obviously we can have make abstraction of the “item”, the responsibility of “item” is … Continue reading

Posted in Development, TDD | Leave a comment

03. TDD Project : HP48 Emulator in Csharp (Codename : ARISTON) Issue 11: Case 2.05 : The memory persist all the items

By : Paul Lorena The user can enter a collection of elements, and store elements in the memory.The system must conserve all of this items when the system is “turned off” Analysis : Implement a CacheProvider for different system’s cache … Continue reading

Posted in Development, TDD | Leave a comment