forked from xfguo/luactor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.luacov
46 lines (39 loc) · 1.25 KB
/
.luacov
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
--- Global configuration file. Copy, customize and store in your
-- project folder as '.luacov' for project specific configuration
-- @class module
-- @name luacov.defaults
return {
-- default filename to load for config options if not provided
-- only has effect in 'luacov.defaults.lua'
["configfile"] = ".luacov",
-- filename to store stats collected
["statsfile"] = "tests/luacov.stats.out",
-- filename to store report
["reportfile"] = "tests/luacov.report.json",
-- Run reporter on completion? (won't work for ticks)
runreport = false,
-- Delete stats file after reporting?
deletestats = false,
-- Patterns for files to include when reporting
-- all will be included if nothing is listed
-- (exclude overrules include, do not include
-- the .lua extension, path separator is always '/')
["include"] = {
"example/.*$",
"reactor/.*$",
"^./.*$",
},
-- Patterns for files to exclude when reporting
-- all will be included if nothing is listed
-- (exclude overrules include, do not include
-- the .lua extension, path separator is always '/')
["exclude"] = {
"util$",
"luacov$",
"luacov/reporter$",
"luacov/defaults$",
"luacov/runner$",
"luacov/stats$",
"luacov/tick$",
},
}