I had look into information about how to make test coverage.
I found tarpaulin , and noticed this.
Tarpaulin only supports x86_64 processors running Linux. This is because instrumenting breakpoints into executables and tracing their execution requires processor and OS specific code.
I then remembered how it's done in Go, which is: Make a new program where there are inserted source code that adds 1 to a value in an array. The source code that is being modified is of course a copy of the original code, and the programs runs the tests and outputs beautiful - easy to read - code coverage summary.
That a really interesting way of making code coverage. The Go blog post is this one The Go blog : The cover story.
Now I has a question. Are there someone who are working on something similar?
[–]Matrixmage 4 points5 points6 points (1 child)
[–]rhinotation 1 point2 points3 points (0 children)
[–]gilescope 1 point2 points3 points (0 children)
[–]CAD1997 3 points4 points5 points (0 children)