How do you guys organize tests for plugins ? [message #116472] |
Sun, 24 August 2008 23:37  |
Eclipse User |
|
|
|
Hi all,
I was wondering how you plugin developers organize unit test for each
plugin you develop.
There're 2 options I can think of so far:
1. Place the unit test codes in separate plugin created exclusively to
contain unit test for plugins.
This is what I do now, but this approach forces you to make some
methods/classes public just to be accessible by test codes.
2. Place them in the same plugin to be tested under different source
directory.
This to some degree relieves the above problem but then we have to specify
dependencies to the testing framework in the plugin.xml which adds
maintenance burden when deploying to production.
Or is there any other alternatives that I'm missing here ?
Any advice shared would be greatly appreciated.
Best Regards,
Setya
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03397 seconds