19 de Noviembre 2003

I Love Compiler Errors

No se cual es la frase exacta en inglés, pero el caso es que los
errores generados por los compiladores pueden ser una gran
herramienta que nos ayude a generar la lista de tareas
para la implementación, siempre y cuando claro, usemos TDD.

A continuación un ejemplo de una lista de tareas para implementar la clase RequestDAL (DataAccessLayer) generado por el compilador de VS.

line (29): 'GdN.AsyncDispatcher.Test.DbUtil.TestDbCommands' does not contain a definition for 'DeleteRequest'
line (37): The type or namespace name 'RequestDAL' could not be found (are you missing a using directive or an assembly reference?)
line (37): The type or namespace name 'RequestMode' could not be found (are you missing a using directive or an assembly reference?)
line (38): The best overloaded method match for 'GdN.AsyncDispatcher.Test.RequestDALTester.assertOperation_expectedFromDb(System.Guid, string, string)' has some invalid arguments
line (38): Argument '1': cannot convert from 'int' to 'System.Guid'
line (44): The type or namespace name 'RequestDAL' could not be found (are you missing a using directive or an assembly reference?)
line (45): The type or namespace name 'RequestDAL' could not be found (are you missing a using directive or an assembly reference?)
line (46): The best overloaded method match for 'GdN.AsyncDispatcher.Test.RequestDALTester.assertOperation_expectedFromDb(System.Guid, string, string)' has some invalid arguments
line (46): Argument '1': cannot convert from 'int' to 'System.Guid'
line (52): The type or namespace name 'RequestDAL' could not be found (are you missing a using directive or an assembly reference?)
line (53): The type or namespace name 'RequestDAL' could not be found (are you missing a using directive or an assembly reference?)
line (65): 'GdN.AsyncDispatcher.Test.DbUtil.TestDbCommands' does not contain a definition for 'GetRequest'

Posted by rido at 19 de Noviembre 2003 22:55
Comments

Liberate Te Ex Inferis - Save yourself from hell

Posted by: panties tgp on 13 de Julio 2004 18:42

Vigilando, agendo, bene consulendo, prospera omnia cedunt - By watching, by doing, by counsulting well, these things yield all things prosperous. (Sallust)

Posted by: anime eyes on 27 de Julio 2004 04:16

Proximus sum egomet mihi - I am closest to myself. (Charity begins at home.) (Terence)

Posted by: map on 27 de Agosto 2004 11:17
Post a comment