As discussed in some comment threads in #566 (like this one), attempting to run some of DMOD tests will fail the code was not obtained by cloning the repo via Git. This is because Git-based functionality is utilized as a step to determining the correct path for testing files.
This approach was adopted because it satisfied two requirements:
- avoiding use of absolute paths
- tests could be executed from any working directory within the repo directory structure
The reason the first item is required is fairly clear, but I don't remember exactly why the second is. I believe it has to do with the way certain test tools (perhaps our tests scripts also) run tests, and also the way certain IDEs execute tests when run through their interface.
In the interests of compatibility, we should explore whether there is an alternative, more general method that still satisfies our current needs with respect to automated testing.
As discussed in some comment threads in #566 (like this one), attempting to run some of DMOD tests will fail the code was not obtained by cloning the repo via Git. This is because Git-based functionality is utilized as a step to determining the correct path for testing files.
This approach was adopted because it satisfied two requirements:
The reason the first item is required is fairly clear, but I don't remember exactly why the second is. I believe it has to do with the way certain test tools (perhaps our tests scripts also) run tests, and also the way certain IDEs execute tests when run through their interface.
In the interests of compatibility, we should explore whether there is an alternative, more general method that still satisfies our current needs with respect to automated testing.