Add coverage highlighting to IDE

Johannes Pfau nospam at example.com
Wed Mar 27 06:51:14 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?

With a custom unit test runner like this one:
https://github.com/D-Programming-Language/druntime/blob/master/src/test_runner.d


More information about the Digitalmars-d-ide mailing list