JuliaWaveScattering / JuliaWaveScattering/MultipleScattering.jl

Simple shape functions not counted in coverage when precompiled

Open
#21 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
56
Forks
13
PR merge metrics
No merged PRs in 30d

Description

When calling name on a shape, like this:
```julia
name(shape::Circle) = "Circle"
```
coverage says that it is [not covered](https://coveralls.io/builds/17369411/source?filename=src/shapes/circle.jl#L11) but it is [called in tests](https://github.com/jondea/MultipleScattering.jl/blob/7c0164906919b64569041882d78a21845f26f937/test/shapetests.jl#L25). I also have the same problem when using coverage locally. However, we did not have this problem before we enabled `precompile`.

I think this is a Julia bug, and so should be reported there, but I'm a bit nervous that I'm wrong...

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.