silverstripe / silverstripe-testsession

Support module for browser-based test sessions, e.g. for Behat behaviour testing
BSD 3-Clause "New" or "Revised" License
3 stars 20 forks source link

TestSessionStubCodeWriter assumes Behat and Server are on the same environment #62

Open dnsl48 opened 5 years ago

dnsl48 commented 5 years ago

When Behat and actual tested server are running on different environments, actual path filePath to the stub code may differ, however TestSessionStubCodeWriter always assumes both environments have the same filesystem structure.

https://github.com/silverstripe/silverstripe-testsession/blob/2/src/TestSessionStubCodeWriter.php#L24