Re: links between Junit tests and source code!!
ABDULLAH KASSEF <[email protected]>
| Newsgroups | gmane.comp.programming.refactoring |
|---|---|
| Message-ID | <[email protected]> |
I think create a separate report after running each test does not possible, since I have a big project repository i.e. about 150 test cases with about 450-500 class, so my problem now is how I can know which test case tests this class ignoring a naming convention ?, because most of these test cases names do not relate to class names, also you can find one test case tests multi classes , and other test case calls multi classes and tests one of them, so my question is there is a tool I can use to create a links between them or/and how I can develop a tool create such these links?? please help me, because now I am feeling that my brain may explode in any time!!!! --- On Thu, 11/26/09, Steven Gordon <[email protected]> wrote: From: Steven Gordon <[email protected]> Subject: Re: [refactoring] links between Junit tests and source code!! To: [email protected] Date: Thursday, November 26, 2009, 9:38 AM On Thu, Nov 26, 2009 at 9:37 AM, Adam Sroka <adam.sroka@gmail. com> wrote: > You can also get a > coverage report if you run Cobertura ( > http://cobertura. sourceforge. net/sample/) which annotates the class to say > what parts are covered by tests (But it doesn't tell you which test tests > what.) I believe if you ran the tests one at a time and created a separate report after running each test, each report would tell you what was exercised by that particular test. I would not consider this level of detail to be worth that additional amount of effort, but I believe it could be automated. [Non-text portions of this message have been removed] ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/refactoring/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/refactoring/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/