aboutsummaryrefslogtreecommitdiff
path: root/spec/fs_spec.lua
diff options
context:
space:
mode:
authorGeorge Roman <30772943+georgeroman@users.noreply.github.com>2018-06-05 23:26:37 +0300
committerHisham Muhammad <hisham@gobolinux.org>2018-06-05 17:26:37 -0300
commita40861645a9bc9a166c7d35ad09083919b4cec38 (patch)
treedff03d3102a45d46941b52ec9da17041954a25b8 /spec/fs_spec.lua
parentd25d70512faf81a4fe2c6764e771ee3290f88a37 (diff)
downloadluarocks-a40861645a9bc9a166c7d35ad09083919b4cec38.tar.gz
luarocks-a40861645a9bc9a166c7d35ad09083919b4cec38.tar.bz2
luarocks-a40861645a9bc9a166c7d35ad09083919b4cec38.zip
Tests: collect coverage data from unit tests (#814)
Diffstat (limited to 'spec/fs_spec.lua')
-rw-r--r--spec/fs_spec.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/fs_spec.lua b/spec/fs_spec.lua
index 2d0059b6..e09ac6df 100644
--- a/spec/fs_spec.lua
+++ b/spec/fs_spec.lua
@@ -50,6 +50,17 @@ describe("Luarocks fs test #unit", function()
50 fs.execute("chmod -x " .. fs.Q(path)) 50 fs.execute("chmod -x " .. fs.Q(path))
51 end 51 end
52 end 52 end
53
54 local runner
55
56 setup(function()
57 runner = require("luacov.runner")
58 runner.init(testing_paths.testrun_dir .. "/luacov.config")
59 end)
60
61 teardown(function()
62 runner.shutdown()
63 end)
53 64
54 describe("fs.Q", function() 65 describe("fs.Q", function()
55 it("simple argument", function() 66 it("simple argument", function()