.luacov 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. --- Global configuration file. Copy, customize and store in your
  2. -- project folder as '.luacov' for project specific configuration
  3. -- @class module
  4. -- @name luacov.defaults
  5. return {
  6. -- default filename to load for config options if not provided
  7. -- only has effect in 'luacov.defaults.lua'
  8. ["configfile"] = ".luacov",
  9. -- filename to store stats collected
  10. ["statsfile"] = "luacov.stats.out",
  11. -- filename to store report
  12. ["reportfile"] = "luacov.report.json",
  13. -- Run reporter on completion? (won't work for ticks)
  14. runreport = false,
  15. -- Delete stats file after reporting?
  16. deletestats = false,
  17. -- Patterns for files to include when reporting
  18. -- all will be included if nothing is listed
  19. -- (exclude overrules include, do not include
  20. -- the .lua extension)
  21. ["include"] = {
  22. },
  23. -- Patterns for files to exclude when reporting
  24. -- all will be included if nothing is listed
  25. -- (exclude overrules include, do not include
  26. -- the .lua extension)
  27. ["exclude"] = {
  28. 'tsc',
  29. 'telescope',
  30. 'loader',
  31. },
  32. -- configuration for luacov-coveralls reporter
  33. ["coveralls"] = {
  34. -- ["debug"] = true;
  35. ["pathcorrect"] = {
  36. {"/usr/local/share/lua/5.[12]", "src/lua"};
  37. },
  38. },
  39. }