Packages
A library for run-time system code line-level coverage analysis. You can use it to evulate the intergration test coverage.
Current section
Files
Jump to
Current section
Files
lib/path_reader.ex
defmodule ExIntegrationCoveralls.PathReader do
@moduledoc """
Provide methods for base path for displaying File paths of the modules.
It uses the current working directory.
"""
@doc """
Returns the current working directory.
"""
def base_path do
File.cwd!()
end
@doc """
Expand path relative to the base_path.
"""
def expand_path(path, base_path \\ base_path()) do
Path.expand(path, base_path)
end
end