# Pkg\> test Atom errors

**URL:** <https://discourse.julialang.org/t/pkg-test-atom-errors/40519>\
**Category:** New to Julia\
**Tags:** package\
**Created:** [May 31, 2020, 8:32pm UTC](https://discourse.julialang.org/t/pkg-test-atom-errors/40519 "2020-05-31T20:32:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dennybob](https://avatars.discourse-cdn.com/v4/letter/d/8e7dd6/32.png) [@dennybob](https://discourse.julialang.org/u/dennybob)\
**Post date:** [May 31, 2020, 8:32pm UTC](https://discourse.julialang.org/t/pkg-test-atom-errors/40519/1 "2020-05-31T20:32:06Z")

</div>

I had Atom already installed, then installed Julia.  
Juno appears to operate properly inside Atom but  
all I’ve done up to this point is some tutorials in it.  
Where I got the errors was running Julia in the  
terminal trying to teach myself how to get around  
there, learn the commands syntax. Following  
are computer specs and error messages when I  
ran “pkg\> test Atom”

macos catalina 10.15.5 (19f96)  
MacBook Air (13-inch, Early 2015)  
Processor 1.6 GHz Dual-Core Intel Core i5  
Memory 8GB 1600 MHz DD3  
julia version 1.4.2  
atom version 1.47.0 x64

Test Summary: | Pass Fail Total  
environment | 4 1 5  
ERROR: LoadError: LoadError: Some tests did not pass: 4 passed, 1 failed, 0 errored, 0 broken.  
in expression starting at /Users/myusername/.julia/packages/Atom/0wndK/test/environments.jl:1  
Here’s the contents of environments.jl:  
@testset “environment” begin  
using Pkg

```
try
    Pkg.activate(atomjldir)

    # test status check
    @test !isempty(Atom.project_status())

    @static VERSION ≥ v"1.4" && begin

    # test current project info
    prj_info = Atom.project_info()
    @test prj_info.name == "Atom"
    @test prj_info.path == joinpath(atomjldir, "Project.toml")

    # test all active project listing: at least environment for this package is active
    prjs = Atom.allprojects()
    @test Atom.project_info() in prjs.projects
    @test prjs.active == "Atom"

    end # if VERSION ≥ v"1.4"
finally
    Pkg.activate()
end

```

end

(next error message follows)

in expression starting at /Users/myusername/.julia/packages/Atom/0wndK/test/runtests.jl:55  
ERROR: Package Atom errored during testing  
Here’s the contents of runtests.jl:  
using Atom, Test, Atom.JSON, Logging, Atom.CSTParser

joinpath′(files…) = Atom.fullpath(joinpath(files…))

atomjldir = joinpath′(@ **DIR** , “..”)  
atomsrcdir = joinpath′(atomjldir, “src”)  
atomjlfile = joinpath′(atomsrcdir, “Atom.jl”)  
webiofile = joinpath′(atomsrcdir, “display”, “webio.jl”)  
traceurfile = joinpath′(atomsrcdir, “profiler”, “traceur.jl”)

# files in `Atom` module except files in submodules

# TODO:

# currently both Revise-like and CSTPraser-based module traverse fails

# to detect lazily loaded files even if they are actually loaded.

atommodfiles = let  
files =   
debuggerdir = joinpath′(atomsrcdir, “debugger”)  
profilerdir = joinpath′(atomsrcdir, “profiler”)

```
for (d, ds, fs) in walkdir(atomsrcdir)
    # NOTE: update directories below when you create an new submodule
    # the 2 files below are in Atom module
    if d == debuggerdir
        push!(files, joinpath′(d, "debugger.jl"))
        continue
    end
    if d == profilerdir
        push!(files, joinpath′(d, "profiler.jl"))
        # push!(files, joinpath′(d, "traceur.jl"))
        continue
    end

    for f in fs
        f == "webio.jl" && continue
        # .jl check is needed for travis, who creates hoge.cov files
        endswith(f, ".jl") && push!(files, joinpath′(d, f))
    end
end

files

```

end

# mock modules

fixturedir = joinpath′(@ **DIR** , “fixtures”)  
junkpath = joinpath′(fixturedir, “Junk.jl”)  
subjunkspath = joinpath′(fixturedir, “SubJunks.jl”)  
include(junkpath)

# basics

include(“utils.jl”)  
include(“misc.jl”)  
include(“display.jl”)  
include(“static/static.jl”)  
include(“environments.jl”)  
include(“modules.jl”)

include(“eval.jl”)  
include(“outline.jl”)  
include(“completions/completions.jl”)  
include(“goto.jl”)  
include(“datatip.jl”)  
include(“workspace.jl”)  
include(“docs.jl”)

I hope that’s sufficient data for possible help with errors.  
Please advise if anything else needed & I’ll try to get it.
