The testing setup we’re using has a lot of helper scripts. Enough that search time is a signifigant issue as we’re not calling most of them with absolute paths. Thus far we’ve pretty much made them all available and let Eggplant search for the one it needs. And this works, but as we get more helpers, some things get slower.
I’m curious if it is stated somewhere how Eggplant searches through all the possible helper scripts. I’m guessing it would be …
For script X:
- Search all scripts that are part of the suite that X is in
- Search all helpers in sequential order (how they’re listed) of the suite X belongs to. (But don’t recurse down into these yet? Is this true?)
- If the script we’re seaching for isn’t in the initial helpers, then search through the helpers of the helpers – going down one more level … again sequentially?
Am I at all correct about how this works? Again, since I’m dealing with so many helpers, having this sort of thing organized properly is a big speed savings … which is why I’m concenred.