Skip to content
This repository was archived by the owner on Jan 2, 2023. It is now read-only.
This repository was archived by the owner on Jan 2, 2023. It is now read-only.

Turn example code into pytest tests #35

@omalleyt12

Description

@omalleyt12

@gabrieldemarmiesse Thanks for fixing the previous issues so quickly!

It would be a great feature if we had a way to mark code snippets that exist in the documentation in a way that indicates that they should be run as tests. During python autogen.py, we could extract those snippets into tests that can be run with pytest. This way we could ensure our examples stay up-to-date

See discussion on keras-team/keras-tuner#136 (comment), we would probably have to roll our own solution for this

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions