Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Reach >=90% code coverage with tests #3

Open
rkrisztian opened this issue Jun 4, 2021 · 1 comment
Open

Reach >=90% code coverage with tests #3

rkrisztian opened this issue Jun 4, 2021 · 1 comment

Comments

@rkrisztian
Copy link
Owner

rkrisztian commented Jun 4, 2021

Let's say, this is a first milestone to fix test coverage to an extent that makes me more confident the app works as expected.

I am not sure yet about aiming for 100% coverage, I would balance it against practicality, for whatever reasons I will find.

(Of course I could have added the tests much sooner, but the first version of the app was created as a single Perl script file with absolutely no tests, so I am only doing damage control here.)

@rkrisztian
Copy link
Owner Author

rkrisztian commented Jun 13, 2021

So far done:

  • A few percent with LineCollector, ConsoleResultsPrinter tests.
  • +10% with HtmlResultsPrinter tests.
  • +6% with FileFInder tests.
  • +1% with the search.conf package.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant