{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaDocs/Documenter.jl/issues/198","repository_url":"https://api.github.com/repos/JuliaDocs/Documenter.jl","labels_url":"https://api.github.com/repos/JuliaDocs/Documenter.jl/issues/198/labels{/name}","comments_url":"https://api.github.com/repos/JuliaDocs/Documenter.jl/issues/198/comments","events_url":"https://api.github.com/repos/JuliaDocs/Documenter.jl/issues/198/events","html_url":"https://github.com/JuliaDocs/Documenter.jl/issues/198","id":171487170,"number":198,"title":"Provide hook to run doctests as part of normal test suite","user":{"login":"davidanthoff","id":1036561,"avatar_url":"https://avatars.githubusercontent.com/u/1036561?v=3","gravatar_id":"","url":"https://api.github.com/users/davidanthoff","html_url":"https://github.com/davidanthoff","followers_url":"https://api.github.com/users/davidanthoff/followers","following_url":"https://api.github.com/users/davidanthoff/following{/other_user}","gists_url":"https://api.github.com/users/davidanthoff/gists{/gist_id}","starred_url":"https://api.github.com/users/davidanthoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidanthoff/subscriptions","organizations_url":"https://api.github.com/users/davidanthoff/orgs","repos_url":"https://api.github.com/users/davidanthoff/repos","events_url":"https://api.github.com/users/davidanthoff/events{/privacy}","received_events_url":"https://api.github.com/users/davidanthoff/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JuliaDocs/Documenter.jl/labels/Priority:%20Medium","name":"Priority: Medium","color":"fdbe85"},{"url":"https://api.github.com/repos/JuliaDocs/Documenter.jl/labels/Status:%20Accepted","name":"Status: Accepted","color":"ece2f0"},{"url":"https://api.github.com/repos/JuliaDocs/Documenter.jl/labels/Type:%20Feature","name":"Type: Feature","color":"810f7c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-16T18:38:01Z","updated_at":"2016-08-16T20:44:19Z","closed_at":null,"body":"It would be great if there was a function that I could call in my normal ``runtests.jl`` script that runs all the doctests, for example like this:\r\n````julia\r\nDocumenter.run_doctests(packagename)\r\n````\r\nThis would have two benefits, as far as I can see:\r\n\r\n1. Errors in the doctests would actually show up as a broken build (right now an error in the doctest is actually not breaking a travis build)\r\n2. doctests could be run in all PRs, branches etc. My sense is that one would want to run doctests essentially whenever one wants to run normal tests, but of course doesn't want the docs to be build/deployed in all of these situations."},"comment":{"url":"https://api.github.com/repos/JuliaDocs/Documenter.jl/issues/comments/240232380","html_url":"https://github.com/JuliaDocs/Documenter.jl/issues/198#issuecomment-240232380","issue_url":"https://api.github.com/repos/JuliaDocs/Documenter.jl/issues/198","id":240232380,"user":{"login":"davidanthoff","id":1036561,"avatar_url":"https://avatars.githubusercontent.com/u/1036561?v=3","gravatar_id":"","url":"https://api.github.com/users/davidanthoff","html_url":"https://github.com/davidanthoff","followers_url":"https://api.github.com/users/davidanthoff/followers","following_url":"https://api.github.com/users/davidanthoff/following{/other_user}","gists_url":"https://api.github.com/users/davidanthoff/gists{/gist_id}","starred_url":"https://api.github.com/users/davidanthoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidanthoff/subscriptions","organizations_url":"https://api.github.com/users/davidanthoff/orgs","repos_url":"https://api.github.com/users/davidanthoff/repos","events_url":"https://api.github.com/users/davidanthoff/events{/privacy}","received_events_url":"https://api.github.com/users/davidanthoff/received_events","type":"User","site_admin":false},"created_at":"2016-08-16T20:44:19Z","updated_at":"2016-08-16T20:44:19Z","body":"Actually, if you would not just throw an exception, but instead use the ``@test`` macros from base, then one could include the ``make.jl`` file in a ``@testset`` and would get a nice summary output of how many tests passed etc."}}
{"actor":{"display_login":"davidanthoff"}}