-
Notifications
You must be signed in to change notification settings - Fork 7
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
Coverage ... #10
Comments
P.S: I never ask anyone to do something I'm not prepared to do myself: |
We shouldn't need to write any more tests, the only lines that aren't covered are autogenerated Phoenix code |
@Danwhy yeah, I'm mostly seeing that ... however excoveralls thinks the Macros aren't being used: |
Yeah, that's unfortunately a known issue: parroty/excoveralls#59 |
It is something to consider. I'll write up some of the pros and cons of each approach when answering #8 |
@dwyl we have a "Gold Standard" for examples/tutorials which must be followed without exception.
Tutorials aimed at beginners should always have "complete tests" to eliminate any "excuse" people may have for not writing tests in their projects.
An example is incomplete without having 100% test coverage because
it either means that there is superfluous code (which can be removed)
OR there is untested code; functionality that is "magic". Both are "below expectations".
At present this example has 56% coverage:
https://codecov.io/github/dwyl/phoenix-ecto-append-only-log-example?branch=master
Todo
The text was updated successfully, but these errors were encountered: