Identifying Unused Modules

Ask general questions here.
AccidentReport
Posts: 78
Joined: Tue Dec 04, 2012 2:30 pm

Identifying Unused Modules

Post by AccidentReport » Thu Mar 27, 2014 12:46 pm

Hopefully a quick and easy...

In the repository there is a button to cleanup which identifies unused repository items so you can easily delete them. Is there anything similar, or some easy way, to identify modules that are not used within a testcase?

I ask as I have been tidying up my tests and have managed to consolidate a number of modules so I have a much more versatile and tidy set of tests. The trouble is I now have a number of modules that are no longer used in any testcase and are redundant so, in my OCD tidyness way, want to delete them from the project.

Any ideas!?

krstcs
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Identifying Unused Modules

Post by krstcs » Thu Mar 27, 2014 1:25 pm

There is no way to do this programatically, you will need to do it manually.
Shortcuts usually aren't...

AccidentReport
Posts: 78
Joined: Tue Dec 04, 2012 2:30 pm

Re: Identifying Unused Modules

Post by AccidentReport » Thu Apr 10, 2014 10:09 am

OK. Thought so but you never know what hidden features may exist in a random context menu or something!

I did manage to go through and tidy them up now so am trying to keep to a naming convention to make it more obvious what is what now.