I'm not sure what's the relation between folders/test cases I create within Opensphere project and file system directories and files. I noticed, that when I create a folder or test case in Opensphere, there are no immediate changes in the file system. When I add a JMS producer for example, and create a message for it, the folder is created, and the message file is written to it automatically (i.e. I don't have to choose the location manually). Now, when I export the producer from a test case and import it into another test case, the file path remains unchanged. However, if I import it into folder, the path is changed to reflect the new location.
Example, to make things clear:
- I have a TC1 test case and a JMS producer p1 in it with messages defined. The messages are saved in ./Suite/TC1/p1.jms file. I export p1 to a file.
- I create a TC3 test case and import p1 into it. New p1's messages file is still ./Suite/TC1/p1.jms, so the same as above. Components share the file I guess, so when I change it in one of them, another component should see the changes as well. It doesn't see them though until I restart the project.
- When I import p1 into folder F1, its message file path changes to ./F1/p1/p1.jms (note the extra p1 directory). This time it is an independent copy.
In addition, when I rename a test case or a folder, this change is not applied to the file system. Paths also doesn't change.
Could you please clarify the relation between OS folders and file system directories, and what behavior I should expect when exporting/importing resources?
your help will be greatly appreciated