[Mono-list] newbie looking for testing work and/or clues
Nick Drochak
ndrochak@gol.com
Tue, 2 Jul 2002 19:00:46 +0900
| Actually, it is quite easy to get a coverage report using the profiling
| API: you just record all the methods that have been executed and compare
| the list with all the methods exported/implemented by an assembly.
| It's, like, 50 lines of code. I'll do it once I separate the profile
| code in a loadable module. Then, you'll invoke it with something like:
|
| mono --profile=coverage,corlib corlibtestes.exe ...
|
| You can do it already with simply mono --profile, if you don't mind
| doing a bit of munging on the output yourself. A separate coverage
| module can create nicer output, though.
Ah. Very nice.
I think I'll wait for the "nice" API in that case.
Thanks,
Nick