forked from lunarmodules/busted
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
conf(cli) add support for luacov config path (lunarmodules#660)
adds new option `--coverage-config-file=FILE`
- Loading branch information
1 parent
c75bc4b
commit 2e4799e
Showing
8 changed files
with
76 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
*.swp | ||
/luacov.report.out | ||
/.ignore* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
--- 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'] = '.ignore.luacov.stats.out', | ||
|
||
-- filename to store report | ||
['reportfile'] = '.ignore.luacov.report.out', | ||
|
||
-- Run reporter on completion? (won't work for ticks) | ||
runreport = true, | ||
|
||
-- Delete stats file after reporting? | ||
deletestats = true, | ||
|
||
-- Patterns for files to include when reporting | ||
-- all will be included if nothing is listed | ||
-- (exclude overrules include, do not include | ||
-- the .lua extension) | ||
['include'] = { | ||
}, | ||
|
||
-- Patterns for files to exclude when reporting | ||
-- all will be included if nothing is listed | ||
-- (exclude overrules include, do not include | ||
-- the .lua extension) | ||
['exclude'] = { | ||
'luacov$', | ||
'luacov.reporter$', | ||
'luacov.defaults$', | ||
'luacov.runner$', | ||
'luacov.stats$', | ||
'luacov.tick$', | ||
'term$', | ||
'term.colors$', | ||
'term.cursor$', | ||
'term.init$', | ||
'copas$', | ||
'coxpcall$', | ||
'mediator$', | ||
'moonscript.*$', | ||
}, | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters