vendredi 24 juillet 2015

How to write java docs for tests correctly

Could you suggest how to write java docs for overloading methods unit tests? For example, there are following methods:

public CustObj retrieveCustObj(CustObjA objA, String objName) {
    //do smth;
}


public CustObj retrieveCustObj(CustObjA objA, CustObjB 
    retrieveCustObj(objA, objB.getName());
}

Thus I need to write a test for each of the methods and I need to write a comment for the ones. How to do that correctly? Thank you in advance.

Aucun commentaire:

Enregistrer un commentaire