TextUI not using supplied listener object

Bug #1325928 reported by Dave Moor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
NUnitLite
New
Undecided
Unassigned

Bug Description

One of the possible constructor parameters of the TextUI class is a object implementing the ITestListener interface.

This would allow programmatic feedback of the test results, however the object is then not used when the tests are actually run.

The one line change to fix this is on line 284 in TextUI.cs

-- ITestResult result = runner.Run(this, filter);
++ ITestResult result = runner.Run(listener, filter);

This is in v1.0

Dave Moor (dave-l)
description: updated
Dave Moor (dave-l)
Changed in nunitlite:
status: New → Fix Committed
status: Fix Committed → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.