How to access TestData from headless build [message #525271] |
Mon, 05 April 2010 20:27  |
Eclipse User |
|
|
|
Hello,
In our SWTBot test plugin, we have a folder of Test Data that the test setups use to populate projects with data that can be used in the test. When running in the IDE this is great and in the test source code we can loadup files using a project relative path (e.g., new File ("TestData/mymodel.xml")
However when running headless in an exported product we have a problem in that these files cannot be accessed. They are included in the build, and the test plugin is unpacked, but the files cannot be read. Does anyone know how SWTBot test code can load up test data when the tests are being invoked headlessly and are embedded in an RCP app?
Thanks in advance,
Richard
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05693 seconds