florence / cover

a code coverage tool for racket
MIT License
38 stars 7 forks source link

Typed Racket `provide` marked uncovered #121

Closed jackfirth closed 8 years ago

jackfirth commented 8 years ago

I have a utility module that provides a single function. The entire module is marked covered except for the provide line (detailed report here https://coveralls.io/builds/5872557/source?filename=syntax%2Fwarn%2Fprivate%2Fstring-pad.rkt#L3). Is this related to #88?

florence commented 8 years ago

Yes in the sense that its probably the same resolution: TR is likely dropping source locations somewhere. I'm not sure though.

florence commented 8 years ago

I take it back, after looking a the expansion of that module I suspect this is a problem with how errortrace handles covering #%provide combined with oddities of TR expansion. I'll fix soon.

florence commented 8 years ago

This being fixed by https://github.com/racket/errortrace/pull/9