Skip to content

Improve the package testing process #148

@ismael-lajaaiti

Description

@ismael-lajaaiti

Originally posted by @iago-lito in #147 (comment)

Yikes! Consider taking time to set up a proper sandbox environment in this case, or you'll spend ages running ] test over and over. :(
I start my sandbox script with things like:

using Test
using Random
using Revise
using EcologicalNetworksDynamics
include("PATH/TO/REPO/test/test_failures.jl")
include("PATH/TO/REPO/test/dedicate_test_failures.jl")
const EN = EcologicalNetworksDynamics # Required by some tests.

So I can then run tests line by line in a corresponding REPL.

Unfortunately, this is not exactly stable or exposed yet. But maybe it should eventually make its way to the CONTRIBUTING file :\

Also, feel free to (temporarily) comment out tests from ./test/runtests.jl or specify unique test files to run here.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions