I have fielded many questions from people who see /usr/tests
on their system but do not know how to run the tests.
Throw these people a breadcrumb by putting this information
at the top of the README file, and then install the README in
/usr/tests.
Details
- Reviewers
ngie - Group Reviewers
tests - Commits
- rS291089: Copy README into /usr/tests
make install
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
No, I don't want this in `/usr/share/docs`. This is meant to be *newbie* friendly so people can just go in /usr/tests
and figure out what to do relatively quickly by looking at the README.
The way to figure this out right now is confusing enough as it is with info scattered all over the place in different man pages,
wikis, etc. The end result is that newbies can't figure out what to do, and keep asking me.
I understand where you're coming from. It just gets to be a bit of a chicken and egg problem, i.e. how will they know where to look for the README file if they don't know about /usr/tests?
tests/README | ||
---|---|---|
4 ↗ | (On Diff #10361) | Two headings of the same level, one immediately after the other, look really ugly. Consider removing this one. |
11 ↗ | (On Diff #10361) | Why not just refer people to tests(7) and rely on the properly formatted manual page? These instructions are redundant and will need extra maintenance. If the manpage is unsuitable as it is, change it. Add a new section at the very top saying "Quickstart guide" or something like that. The same applies for all the text below. The documentation belongs in the tests(7) manual page. I think it's OK for a README to exist here and provide brief pointers to the page, but the real contents should be there. If the current page has navigation issues, that's a different story, but they can certainly be addressed. |
tests/README | ||
---|---|---|
11 ↗ | (On Diff #10361) | README and tests(7) in their current form are way to wordy. In tests(7), I need to scroll through nearly 50 lines of text before A lot of tests(7) reflects your personal opinions of when and how to run tests. Those kind of opinions belong on The kind of newbies we want to run the tests are not going to have the patience to read through all this stuff. |
tests/README | ||
---|---|---|
4 ↗ | (On Diff #10361) | OK |