Skip to content

Support preloading of applications modules in Mix (or at least mix test) #6626

Closed
@josevalim

Description

@josevalim

We have recently added the --slowest N feature to mix test but the first tests to run will always be the slowest because they also need to load the code they are invoking.

One possible solution for this problem is to preload the modules in the loaded applications. We can make it either generic (a flag on app.start) or specific to mix test --slowest N.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions