-
Notifications
You must be signed in to change notification settings - Fork 38
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
Tests #3
Comments
I've been planning for a long time to write documentation on extension (writing custom completion sources). Can you please explain what is integration documentation? What exactly should it contain? Speaking of tests, I'm not really TDD kind of person, but I'll see what can be done. Maybe it is a chance to finally start writing tests somewhere:). |
By integration documentation I mean examples of code people would have to write to wire compliment with their existing projects. That should basically be a short section in the readme about As for the tests - it's not that important whether you follow TDD or no, but it's always a good idea to have some tests in the end as they act as an executable specification of your library. I would have written the tests myself directly, but I'm not that familiar with the code yet. I guess you can draw a bit of inspiration from here https://github.com/ninjudd/clojure-complete/blob/master/test/complete/core_test.clj. |
OK, I'll write the tests, that shouldn't be hard. As for the docs, I skipped that part as users don't really call those two functions directly, but I can see how this info might benefit developers. I guess it would go to wiki together with information on context and extension docs. |
Done with the tests. Do you think it is enough, or explicit documentation on public functions is still necessary? |
The tests look good. I think that will do for now. |
I recently started using
compliment
in CIDER as a replacement forclojure-complete
. While it works great I noticed there are neither tests nor integration documentation. Sure, the public API is two functions, but I think you'll make developer lives easier if they had a formal specification in the form of tests.The text was updated successfully, but these errors were encountered: