MonoRepo v0.1.0 MonoRepo.Test View Source

This module holds a set of functions to build test paths for your mix project configuration.

Instead of manually creating lists of folded applications` paths like "apps/app0/apps/app1/apps/app2/test" use functions from this module.

Link to this section Summary

Functions

Builds a list of paths to test directories of all the applications found in apps directory recursively.

Builds a list of paths to test directories of all the applications found in apps directory recursively until it finds the first match.

Link to this section Functions

Link to this function

build_test_paths()

View Source
build_test_paths() :: [String.t()]

Builds a list of paths to test directories of all the applications found in apps directory recursively.

It means that in case an application is apps directory includes apps directory, all those apps' test directories will be included.

Link to this function

build_test_paths(child)

View Source
build_test_paths(child :: MonoRepo.child()) :: [String.t()]

Builds a list of paths to test directories of all the applications found in apps directory recursively until it finds the first match.

Behaves in simmilar fashion to it's /0 implementation.