ExIntegrationCoveralls (ExIntegrationCoveralls v0.2.0)
Documentation for ExIntegrationCoveralls
.
Link to this section Summary
Functions
Get an overall integration test coverage analysis report of an OTP application
Get an overall integration test coverage rate of an OTP application
Link to this section Functions
Link to this function
execute(compiled_beam_dir_path)
Link to this function
exit()
Link to this function
get_coverage_report(compile_time_source_lib_abs_path \\ File.cwd!(), source_code_abs_path \\ File.cwd!())
Get an overall integration test coverage analysis report of an OTP application
parameters
Parameters
- compile_time_source_lib_abs_path: source code project abs path in compile-time machine.
- source_lib_absolute_path: source code project abs path in run-time machine.
examples
Examples
%{
coverage: 50,
files: [
%Stats.Source{
coverage: 50,
filename: "test/fixtures/test.ex",
hits: 1,
misses: 1,
sloc: 2,
source: [
%Stats.Line{coverage: 0, source: "defmodule Test do"},
%Stats.Line{coverage: 1, source: " def test do"},
%Stats.Line{coverage: nil, source: " end"},
%Stats.Line{coverage: nil, source: "end"}
]
}
],
hits: 1,
misses: 1,
sloc: 2
}
Link to this function
get_total_coverage(compile_time_source_lib_abs_path \\ File.cwd!(), source_code_abs_path \\ File.cwd!())
Get an overall integration test coverage rate of an OTP application
parameters
Parameters
- compile_time_source_lib_abs_path: source code project abs path in compile-time machine.
- source_lib_absolute_path: source code project abs path in run-time machine.