Skip to content

Should a testitem be baremodule rather than a module? #199

Description

@nickrobinson251

...so that users can define a function named eval if they wish (which in Julia v1.12 (JuliaLang/julia#55949) would be an error, they'd have to instead extend Base.eval or use another name)

If we were to use a baremodule, we'd probably still need to define include (since some users seem to prefer include'ing a file than using a testsetup) e.g. by defining using Base; include(args...) = Base.include($mod, args...) where $mod is the name of the testitem baremodule.

Metadata

Metadata

Assignees

No one assigned

    Labels

    speculativea feature idea that we are undecided about

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions