-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Explain the different style of tests in CONTRIBUTING.md #24802
Comments
Perhaps it would be sufficient to link to https://github.com/rust-lang/rust-wiki-backup/blob/master/Note-testsuite.md from CONTRIBUTING.md for the moment? |
Yes! That's exactly what I was looking for and couldn't find. On Wed, Jun 10, 2015 at 10:27 AM, jooert [email protected] wrote:
|
I feel like it would be really helpful if the different kinds of tests were explained nicely somewhere, since there are a lot of different kinds, and it's a little hard to guess which kind I'll need to write, so I have to look at a lot of examples each time.
In particular, the semantics of the lines such as:
are clear enough when reading, but I'm not really sure how it works in detail.
For example, in
src/test/parse-fail/mod_file_not_exists.rs
has on line 14but the actual error message is
With the extra
""
at the end, so is it some sort of fuzzy match, or just prefix or what? Also when do you chose between//~
and//~^
, is that only for placing the comment and are these the same:Or is there more going on?
It'd also be quite nice to have a one line summary of the different test types, clarifying how
compile-fail-fulldeps
is different fromcompile-fail
, etc. I know I can figure it out given long enough, but it'd save a lot of time. Thanks!The text was updated successfully, but these errors were encountered: