Skip to content

Doctests as part of travis #15815

@vchuravy

Description

@vchuravy

Doctests are part of the documentation and having them run automatically on travis, would ensure that the Julia documentation is kept up to date and consistent. Additionally more tests are always helpful and #15753 exposed a few regressions.

After #15753 all doctests are functional again and we could enable them for testing. While working on that PR I noticed that there is one annoying property of the doctest. They may spuriously fail when linenumbers change. This can be solved by replacing the linenumbers in the doctest with .... Any other changes will still trigger a failure.

As an example see 19d4431

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsystemThe documentation building systemtestThis change adds or pertains to unit tests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions