This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how set working directory for eclipse plugin

 
Zeca Pistolas
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

hadas yaari wrote:Hi Jeanne,
... the unit test have to run in the user's project environment because it tests the project classes.


I have a Eclipse Plugin that use JUnitCore to run some JUnit test and runs ok.

But when a JUnit test needs a file with some input or confs, etc.... the JUnitCore cannot run correctly because it points to my home folder instead of project folder.

How can I set the Unit Test or JUnitCore to run in the user's project environment?


--
Thanks in advance,
ZecaPistolas
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34178
340
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do your unit tests need a property or the plugin itself?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic