• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how set working directory for eclipse plugin

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do your unit tests need a property or the plugin itself?
 
reply
    Bookmark Topic Watch Topic
  • New Topic