Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
I'm new to lab, having spent some time with istanbul. Istanbul's html coverage reporter annotates what branches and conditions have been visited, and includes tooltips that indicate things like "branch not covered" and "statement not covered." The colors that istanbul uses make it easy to understand what the tests aren't covering.
I'm not finding the same to be true for lab. Different parts of isemail are being highlighted in grey-green and light-green, and don't include any explanatory text. They appear in seemingly the same contexts, but I can't get them to go away by adding what I think is the appropriate tests.
Could we document what the colors mean/add explanatory text in perhaps the form of a tooltip (title attribute) to make this clearer?
@skeggse very good point. Here is where the colors are determined at the moment: https://github.com/hapijs/lab/blob/master/lib/reporters/html/report.html#L314