...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.
...so that users can define a function named
evalif they wish (which in Julia v1.12 (JuliaLang/julia#55949) would be an error, they'd have to instead extendBase.evalor use another name)If we were to use a
baremodule, we'd probably still need to defineinclude(since some users seem to preferinclude'ing a file than using atestsetup) e.g. by definingusing Base; include(args...) = Base.include($mod, args...)where$modis the name of the testitembaremodule.