Closed lk77 closed 11 months ago
@lk77 I'm working on a PR that adds data sets to filenames for tests using data providers. Do you have any idea what the maximum file length is? And what operating system this issue occurs on? I just want to make sure I'm not re-introducing this bug.
@ziadoz it's 255, but for the whole path, that's why i limited the filename to 140 to be sure there is enough for the directory
Hello,
I have some dusk tests that fails when there is console logs, because the filename is too long
it happens when the test class is in a deep subfolder, in my case i have 5 folders, and also the name of the test itself is pretty long,
i propose to limit the number of characters of the return value of the ProvidesBrowser::getCallerName function
both the class name and the test name will be limited to 70 characters
i added a test, to verify that the test name is correctly truncated,
to test that the class name is correctly truncated would require the creation of another test class with a very long name,
i don't know if it's something you want to do.