Minor Bug In TextUI

7 views
Skip to first unread message

Dave Moor

unread,
Jun 2, 2014, 11:11:18 AM6/2/14
to nuni...@googlegroups.com
Hi

I'm new to NUnitLite, I think there is a bug in TextUI, it looks to me like you started down one path, then switched to another during testing.

In the RunTests functions the line:
    ITestResult result = runner.Run(this, filter);
should it read:
    ITestResult result = runner.Run(listener, filter);

You can pass a ITestListener into the TextUI constructor but it doesn't get used anywhere in the class. I have a class to tally up pass and fails etc. but if I pass it in it never gets called.

Thanks

Dave

Mario Zivic

unread,
Jun 13, 2014, 10:11:06 AM6/13/14
to nuni...@googlegroups.com
Hi,

I just came here to report the same bug.

Also, -full option doesn't do anything since the code that calls it in ReportResults in ResultReporter is commented out.

Regards,
Mario
Reply all
Reply to author
Forward
0 new messages