Path: blob/main/src/resources/pandoc/datadir/luacov/defaults.lua
12923 views
--- Default values for configuration options.1-- For project specific configuration create '.luacov' file in your project2-- folder. It should be a Lua script setting various options as globals3-- or returning table of options.4-- @class module5-- @name luacov.defaults6return {78--- Filename to store collected stats. Default: "luacov.stats.out".9statsfile = os.getenv("QUARTO_LUACOV") or os.getenv("PWD") .. "/luacov.stats.out",1011reporter = "html",12reportfile = "luacov.report.html",1314--- Filename to store report. Default: "luacov.report.out".15-- reportfile = "luacov.report.out",1617--- Enable saving coverage data after every `savestepsize` lines?18-- Setting this flag to `true` in config is equivalent to running LuaCov19-- using `luacov.tick` module. Default: false.20tick = false,2122--- Stats file updating frequency for `luacov.tick`.23-- The lower this value - the more frequently results will be written out to the stats file.24-- You may want to reduce this value (to, for example, 2) to avoid losing coverage data in25-- case your program may terminate without triggering luacov exit hooks that are supposed26-- to save the data. Default: 100.27savestepsize = 100,2829--- Run reporter on completion? Default: false.30runreport = false,3132--- Delete stats file after reporting? Default: false.33deletestats = false,3435--- Process Lua code loaded from raw strings?36-- That is, when the 'source' field in the debug info37-- does not start with '@'. Default: false.38codefromstrings = false,3940--- Lua patterns for files to include when reporting.41-- All will be included if nothing is listed.42-- Do not include the '.lua' extension. Path separator is always '/'.43-- Overruled by `exclude`.44-- @usage45-- include = {46-- "mymodule$", -- the main module47-- "mymodule%/.+$", -- and everything namespaced underneath it48-- }49include = {},5051--- Lua patterns for files to exclude when reporting.52-- Nothing will be excluded if nothing is listed.53-- Do not include the '.lua' extension. Path separator is always '/'.54-- Overrules `include`.55exclude = {56-- don't include library files57"common/base64",58"common/lunacolors",59"common/log",60"pandoc/datadir/_base64",61"pandoc/datadir/_json",62-- don't include test filters63"tests/docs"64},6566--- Table mapping names of modules to be included to their filenames.67-- Has no effect if empty.68-- Real filenames mentioned here will be used for reporting69-- even if the modules have been installed elsewhere.70-- Module name can contain '*' wildcard to match groups of modules,71-- in this case corresponding path will be used as a prefix directory72-- where modules from the group are located.73-- @usage74-- modules = {75-- ["some_rock"] = "src/some_rock.lua",76-- ["some_rock.*"] = "src"77-- }78modules = {},7980--- Enable including untested files in report.81-- If `true`, all untested files in "." will be included.82-- If it is a table with directory and file paths, all untested files in these paths will be included.83-- Note that you are not allowed to use patterns in these paths.84-- Default: false.85includeuntestedfiles = false,8687}888990