mardi 5 mai 2015

Test Driven Development applied to Database

Well i have this code: http://ift.tt/1OYmdu9

which is a simple database able to insert, delete and modify Contactos. I need to make this class using Test Driven Development

i have began this way....

http://ift.tt/1bvU7UA and function insertarContacto ( addContacto).

Using Eclipse the TestConnection works but testInsertarContacto dont.

Dont know if im beginning the right way an any hint or help would be apreciated. Also i have doubts if in testBaseDatosContactos i have to clean the database at beginning or end of tests or how to procceed...

Thanks

Aucun commentaire:

Enregistrer un commentaire