Day 8: So the other day as I began writing tests for my Webmention receiver, I wanted to check how many lines the tests covered. When I ran the test coverage tool, it said I had covered zero lines! I thought that was impossible, as I had written some tests checking the endpoint with different values. That’s when I realized I needed to actually be importing the receiver module in order for my test coverage tool to see it. Small lesson, but an important one to know!
Do you have a reply you want to share? You can send me the URL here: