From 56150aad8614bef64e25866108a2bf65052f503a Mon Sep 17 00:00:00 2001 From: George Roman Date: Tue, 12 Jun 2018 00:19:32 +0300 Subject: Include 0% coverage files in the luacov report --- spec/dummy_spec.lua | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 spec/dummy_spec.lua diff --git a/spec/dummy_spec.lua b/spec/dummy_spec.lua new file mode 100644 index 00000000..80f04ffb --- /dev/null +++ b/spec/dummy_spec.lua @@ -0,0 +1,25 @@ +-- Dummy test file for including files with 0% coverage in the luacov report + +local test_env = require("spec.util.test_env") +local testing_paths = test_env.testing_paths + +test_env.unload_luarocks() + +local runner = require("luacov.runner") +runner.init(testing_paths.testrun_dir .. "/luacov.config") + +require("luarocks.build.cmake") +require("luarocks.build.command") +require("luarocks.tools.tar") +require("luarocks.fetch.cvs") +require("luarocks.fetch.git_file") +require("luarocks.fetch.git_https") +require("luarocks.fetch.git_ssh") +require("luarocks.fetch.hg_http") +require("luarocks.fetch.hg_https") +require("luarocks.fetch.hg_ssh") +require("luarocks.fetch.hg") +require("luarocks.fetch.sscm") +require("luarocks.fetch.svn") + +runner.shutdown() -- cgit v1.2.3-55-g6feb