Skip to content

Can Infiltrator work with tests? #172

@luc-j-bourhis

Description

@luc-j-bourhis

Here is what I tried

julia> using Infiltrator
julia> using MyPackage.MyModule
(add Main.@infiltrate in a function of that module)
julia> import Pkg; Pkg.test()

This fails:

ERROR: LoadError: UndefVarError: `@infiltrate` not defined in `Main`

This is clearly outside the use case described in the documentation but it would be nice if there was a trick to make that work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions