-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add tests #3
Comments
I'm about to docco This small refactor (and here's my point) would also make it easier to test the exported functions. For given config and input (array of lines) you can expect a given output. Same is true of course for a given file, but it makes testing more cumbersome.
This is only interesting if you are testing the actual templates, otherwise you should test up to generation of the data for the templates and stop there. I haven't quite gotten that far yet in the docco-code but again it is probably a matter of splitting up a function ( Sorry for writing so chatty, I should sleep now =p
|
All good and thanks for the feedback. We are VERY open to suggestions, requests, PRs, etc. I am having a bit of grief trying to figure out what we should do here though :D Can you please open a new ticket with specifics? The more pragmatic, the better! |
Documentation really rocks. However, we have zero tests.
I am not 100% sure how to approach tests here, especially since the output depends on templates.
But, it would be good to have some tests. Or, to at least have the infrastructure in place for them.
The text was updated successfully, but these errors were encountered: