mardi 1 septembre 2015

Using insert value of a unit test as parameter for another

I'm new to unit test and I was to test insert/update test of a repository. I was wondering if it's possible (and how) to get the return value of a insert method (that insert into a sql table) and pass that value to another unit test as parameter. For example I insert an object of type Animal and want to delete it

Is this possible? Thanks

Aucun commentaire:

Enregistrer un commentaire