kamadorueda / alejandra

The Uncompromising Nix Code Formatter
https://kamadorueda.github.io/alejandra/
The Unlicense
819 stars 40 forks source link

Help us get coverage to 100% #41

Closed kamadorueda closed 2 years ago

kamadorueda commented 2 years ago

Enter the development environment and run:

$ cargo tarpaulin -o html

Now open ./tarpaulin-report.html in your web browser, for instance:

$ google-chrome-stable tarpaulin-report.html

And you'll see a detailed coverage of each file, line by line of the portions of the code that are exercised during the tests (green) or not (red), there may also be cases of dead code:

image

Help us writing test cases that make everything look green

The idea is to get to 100% coverage, which help a lot avoiding regressions, and improving the reliability of the tool

kamadorueda commented 2 years ago

I believe we are good for now