-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Documentation Needed for clientArgs #833
Comments
What do you mean by clientArgs? The arguments that are passed into the browser? Karma does pass the The only option I can think of is Mocha, which does mention it in the README, https://github.com/karma-runner/karma-mocha. So I'm closing this, please send a pull request if you think there's something missing. |
Please see the following (on some of which you're a participant) This needs to be DOCUMENTED on the Karma documentation either on the 0.8 or 0.10 site. "client" appears one time on this page http://karma-runner.github.io/0.10/config/configuration-file.html and does not cover anything remotely close to clientArgs or the 'client' property you just mentoned. I'm miffed that you closed this issue BEFORE I had a chance to respond. That's just poor etiquette, and is a smack in the digital face of someone taking an interest in the project. |
@shellscape I didn't mean to offend you by closing the issue. Can you be more concrete? What should be in the documentation? Source of all the documentation is on github (https://github.com/karma-runner/karma/tree/master/docs), so you can send a pull request to improve it. That would super awesome and other people would benefit from it. The links you mentioned don't give me any better info - the @gfxmonk might be able to improve the docs, as he wanted this feature so badly. I don't think other people are using it at this point, because there are no adapter using it, it might be more useful in the future. At this point I only know about mocha using it. I'm happy to help with concrete questions/problems. |
I did document the args that my original PR introduced (in the CLI args to
@vojtajina can you confirm that Also, perhaps the default should be |
The config option is My point is, why do we need to document this? It's not used. Passing On Sat, Nov 30, 2013 at 4:53 PM, Tim Cuthbertson
|
Fair point. The docs are not super useful yet, but they're not useless either:
Also, if users think it sounds like a good idea, they might contribute support to it for their preferred adapter when they realize it doesn't support clientArgs yet. We could add a note in the docs that its behaviour depends on whether the adapter actually makes use of it, to avoid confusion. I don't think there's any reason that common adapters (mocha etc) shouldn't make use of it, they just don't yet - partly because few people know of the feature's existence. |
@gfxmonk has hit the nail on the head with regard to the why and the how. We're currently customizing an adapter for internal use because the current adapters which ship don't support it, and when trying to figure out how things work we noticed that the documentation was nonexistent for the capability. +1 vote for documenting this, and for @gfxmonk 's PR for updating the docs. |
Yes. mocha uses it and so it is in Mocha's readme. You can add readme to That said, I'm not against mentioning that option in the Karma docs. Again
On Sun, Dec 1, 2013 at 6:20 PM, Andrew Powell notifications@github.comwrote:
|
I've seen a few issues and pull requests regarding clientArgs in both karma's repo and grunt-karma's repo with zero documentation for it. Is there documentation out there and it's just hiding, or is the documentation lacking information on this feature?
The text was updated successfully, but these errors were encountered: