-
Notifications
You must be signed in to change notification settings - Fork 4
/
.luacov
60 lines (53 loc) · 1.72 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
return {
-- filename to store stats collected
["statsfile"] = "luacov.stats.out",
-- filename to store report
["reportfile"] = "luacov.report.out",
-- luacov.stats file updating frequency.
-- The lower this value - the more frequenty results will be written out to luacov.stats
-- You may want to reduce this value for short lived scripts (to for example 2) to avoid losing coverage data.
["savestepsize"] = 100,
-- Run reporter on completion? (won't work for ticks)
runreport = true,
-- Delete stats file after reporting?
deletestats = false,
-- Process Lua code loaded from raw strings
-- (that is, when the 'source' field in the debug info
-- does not start with '@')
codefromstrings = 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"] = {
"lib/specl/badargs$",
"lib/specl/color$",
"lib/specl/compat$",
"lib/specl/expect$",
"lib/specl/formatter/progress$",
"lib/specl/formatter/report$",
"lib/specl/formatter/tap$",
"lib/specl/inprocess$",
"lib/specl/loader$",
"lib/specl/main$",
"lib/specl/matchers$",
"lib/specl/runner$",
"lib/specl/sandbox$",
"lib/specl/shell$",
"lib/specl/std$",
"lib/specl/util$",
"lib/specl/version$",
},
-- 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"] = {
"luacov$",
"luacov/reporter$",
"luacov/defaults$",
"luacov/runner$",
"luacov/stats$",
"luacov/tick$",
},
}