Add coverage highlighting to IDE

nazriel spam at dzfl.pl
Wed Mar 27 15:10:53 PDT 2013


On Wednesday, 27 March 2013 at 12:08:00 UTC, alex wrote:
> On Saturday, 23 March 2013 at 23:14:59 UTC, Walter Bright wrote:
>> Just an idea for an IDE.
>>
>> At the push of a button, run the unittests with -cov on the 
>> module being editted, read the coverage listing file, and then 
>> highlight the code lines that were never executed.
>
> How to run only one module('s unittests)? With rdmd? Or just 
> via dmd with a specific flag set?

I think Walter (?) added a flag to dmd:
  -main          add default main() (e.g. for unittesting)

Maybe runnng dmd with this flag on 1 module and then running it 
could help?


More information about the Digitalmars-d-ide mailing list