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
[isoltest] Add option to refer external files as sources #10475
Comments
The current format is:
How about we make this extremely simple:
The |
The main problem I see here is: currently isoltest and the boost tests just traverse the entire directories consuming every single file as test file. Would those separate files we point to also be run as their own isolated tests? If not, how would we distinguish them? Placing them into an entirely different directory structure will make it very hard to figure things out... a special file name prefix/suffix/extension? Not sure... |
Those files have no expectations in them so one could ignore such files? |
Having no expectations at the moment still means they have to compile... we could however change that or have some comment-marker in them, indicating that they should not be run as individual test, yes. |
we can add a special comment in the first line of a file to be imported so it is ignored |
That definitely would be the case as they frequently import files.
Sounds good. |
Should we allow remappings?
|
@aarlt this is the issue we discussed regarding the next priority for isoltest |
Currently the test format supports single or multiple files, but they all the sources have to be included in a literal form.
This idea came up on today's call: how about supporting a case pointing to a separate file. This would allow including larger external projects and still having the expectations visible, without the need to scroll down thousands of lines.
The text was updated successfully, but these errors were encountered: