samedi 21 mai 2016

Separate Spock.DbUnit content for each case in one Specification

I am using be.janbols.spock.extension.dbunit

But content is called for all cases.

How specify it for each case?

@DbUnit def content =  {
   CATEGORY(CATEGORY_ID: 1L, CATEGORY_NAME: "N", CATEGORY_IMAGE:"I")
}

http://ift.tt/22jFidk

Aucun commentaire:

Enregistrer un commentaire