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

FAQ misconceptions #145

Closed
boneskull opened this issue Nov 6, 2015 · 3 comments
Closed

FAQ misconceptions #145

boneskull opened this issue Nov 6, 2015 · 3 comments

Comments

@boneskull
Copy link

  1. Mocha does not require describe, etc to be in the global namespace; the default interface (bdd) does, however. It is one interface amongst several.
  2. Mocha provides TAP output as an available reporter but is not otherwise tightly bound to TAP.
  1. is a common misconception, but I'm not sure where 2) came from.

Addressing bloat and performance are two issues on Mocha's radar. Would appreciate any suggestions or assistance!

Thanks. Looks pretty cool 👍

@sindresorhus
Copy link
Member

Ok, I've clarified it in the readme, but the reality is that most people just use the default interface. The TAP part is regarding node-tap/tape, not Mocha. Feel free to do a PR if you think anything else could be said better or something. I'm not trying to bash on Mocha. Just my opinion on it. I was a happy user for a long time.

@boneskull
Copy link
Author

Thanks. I don't expect everyone to be in love with Mocha; it has some fundamental flaws that need addressing. If we end up stealing some of your ideas, please consider it flattery. 😄

@sindresorhus
Copy link
Member

Please do. I would like to see Mocha improve too. AVA is not for everyone. Most will continue using Mocha. I'm just trying to move testing forward for everyone :)

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

No branches or pull requests

2 participants