mesalock-linux / mesabox

A collection of core system utilities written in Rust for Unix-like systems (and now Windows)
BSD 3-Clause "New" or "Revised" License
137 stars 19 forks source link

Write testcases #42

Open mssun opened 6 years ago

mssun commented 6 years ago

Current test code coverage is pretty low (about 13.56%): https://codecov.io/gh/mesalock-linux/mesabox/tree/master

Our target coverage is around 80%.

Arcterus commented 6 years ago

The coverage significantly dropped after the tests were refactored (and it’s clearly wrong right now as the parser for sh says 0%).

Arcterus commented 6 years ago

There’s more tests for sh in the sh-parser branch btw.

mssun commented 6 years ago

The coverage significantly dropped after the tests were refactored (and it’s clearly wrong right now as the parser for sh says 0%).

This is wired and needs more investigation...