Skip to content

Untested files are counted taking into account filters include/exclude#115

Open
a1div0 wants to merge 1 commit intolunarmodules:masterfrom
a1div0:add_test_untested_files
Open

Untested files are counted taking into account filters include/exclude#115
a1div0 wants to merge 1 commit intolunarmodules:masterfrom
a1div0:add_test_untested_files

Conversation

@a1div0
Copy link

@a1div0 a1div0 commented Nov 25, 2024

To address the issue described in #114, the following changes have been made:

  • The runner has been modified to ensure that it contains the entire list of project files potentially involved in test coverage before data accumulation begins.
  • A new method, find_luas, has been added. Other reusable methods have been moved to the util module.
  • The description for the includeuntestedfiles flag has been updated. For previous versions, no changes are likely needed, as the calculation of untested files will occur if the flag's value is not set to false.
  • Unnecessary code has been removed from reporter.lua.
  • Tests have been added.

@a1div0
Copy link
Author

a1div0 commented Nov 25, 2024

Sorry, it turned out to be a big merge

@a1div0
Copy link
Author

a1div0 commented Nov 25, 2024

It's strange that the tests dropped, mine don't drop:
image

Please help me figure out what's wrong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant