Skip to content

Support separate project file in test/Project.toml #165

Closed
@avik-pal

Description

@avik-pal
Contributor

Currently having this instead of specifying extras throws the following error:

Reactant: Error During Test at /......../Reactant.jl/test/runtests.jl:47
  Got exception outside of a @test
  trying to activate test environment of an unnamed project
Test Summary: | Error  Total  Time
Reactant      |     1      1  8.0s
ERROR: LoadError: Some tests did not pass: 0 passed, 0 failed, 1 errored, 0 broken.
in expression starting at /......../Reactant.jl/test/runtests.jl:47
ERROR: Package Reactant errored during testing

Activity

avik-pal

avik-pal commented on Aug 3, 2024

@avik-pal
ContributorAuthor

Seems like this is an issue if we provide the path directly via @__DIR__, passing the package name solves this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @avik-pal

        Issue actions

          Support separate project file in `test/Project.toml` · Issue #165 · JuliaTesting/ReTestItems.jl