-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Improve README usefulness #2282
Comments
|
|
...Those are all the other issues I could find relating to (or suggesting need of) documentation. We should probably consolidate these into a single list in the OP (with editting out of any inapplicable ones if necessary). |
|
We should have someplace people are encouraged to list integrations with other frameworks. (Might also be a good place to put any caveats about them, given we've run into four issues with modified Mocha behavior recently.) But it should also list how using the integration differs from just setting it up manually, if setting it up manually is possible.
I just now discovered that we... pass on |
|
I'm a bit conflicted versus what belongs on the site and what belongs in Then again, I'm unclear if @dasilvacontin means |
I meant README.md, but usually these things I left here were for links. Having a few sections with links in the README. Links to Wiki pages, or blog posts, whatever. One more question often asked: |
As a newbie, I was thrown off by the home page "Getting Started" example where it states "Back in the terminal:" and magically shows the output without showing how to run the tests. I had to go elsewhere to figure out the command ($ npm test) and how to set up package.json to alias the keyword "test" to point to the test dir. I'm happy to create a pull request for this, but don't think the home page is under git control? If this is indeed stated somewhere in the wiki I couldn't find it. Can I assist in updating the docs somehow? Something along the lines of: Install Mochanpm install mocha chai --save-dev Notice that this is not installed globally. This allows for multiple projects with different versions of mocha to run side by side. Create a test directory~/projects/my-project $ mkdir test Create a test filecd test Add an example test to test.js: var assert = require('assert'); Update package.json"scripts": { With the above, you can now type 'npm test' to run your tests: Run your tests~/projects/my-project $ npm test
Array 1 passing (8ms) |
@TimHandy Sorry, I meant to reply to this before and it slipped through my to-do list. The code for |
@ScottFreeCode @TimHandy I submitted a PR - let me know what you think. mochajs/old-mochajs-site#58 |
Do we have an issue equivalent to this one for documentation on the mochajs.org site? Most of my points are more appropriate there. Here's another one: let's clarify the relationship between Mocha's |
@ScottFreeCode that makes me think there may be a use case for using both node's |
otherwise, improving documentation on github, mochajs.org, and between the two is an ongoing (though slow) effort. the wiki needs to be audited for misinformation as well |
The text was updated successfully, but these errors were encountered: