Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test output directory is confusing #147

Closed
hannesm opened this issue Feb 22, 2019 · 1 comment · Fixed by #155
Closed

test output directory is confusing #147

hannesm opened this issue Feb 22, 2019 · 1 comment · Fixed by #155

Comments

@hannesm
Copy link
Member

hannesm commented Feb 22, 2019

since #125 / #137 was merged, the test output is located at _build/default/test/_build/_tests/UUID/<testname.txt>. This is very hard to navigate to.

In order to read the output of a failing test, I now first have to figure out the UUID of this run, which is sometimes hidden pages above the failing test case. And then I've to navigate to the directory, remembering on the next test run to switch to a different directory again.

I still don't understand the motivation to output into a randomly-generated directory, but if it is useful for others, what about creating a symbolic link when a testrun starts(!!) linking to the current testrun e.g. _build/default/test/current pointing to _build/_tests/UUID/? then there'd at least be a canonical way to read the output!?

@hannesm
Copy link
Member Author

hannesm commented May 8, 2019

this is even more confusing if you've multiple tests (i.e. test runners, executables) in your project, and now they all output to their own randomised output directory, which means on failure you first have to figure out which uuid + test was failing...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant