On 2011-10-10, Curt Arnold wrote:

> Has anyone compared how the new log4net.dll performs with the previous
> release's test suite?

I just did.  You have to tweak log4net 1.2.10's build file in the tests
directory to make it work with .NET 2.0 and explicitly run it with nant
-t:net-2.0 as 1.2.10 doesn't support any newer .NET framework.

I get two test failures from the 1.2.10 source bundle, both are known
issues with the tests on more modern versions of Windows (LOG4NET-310
and LOG4NET-265) and the tests have been fixed with 1.2.11.

Replacing 1.2.10's log4net.ddls I get one test failure less as one of
the two failures has been taken care of in code as well (LOG4NET-310).

In summary, all tests that passed in 1.2.10 still do with 1.2.11 and one
that fails on Windows Server 2003, Vista or newer now passes.  The only
remaining test failure is due to a problem with the test itself (a
timing issue).

Stefan

[1] Add

    <target name="runtests-net-2.0" description="Runs log4net tests on .NET 
Framework 2.0 version" depends="compile-net-2.0">
        <nunit2>
            <formatter type="Plain" />
            <test assemblyname="${current.bin.dir}/log4net.Tests.dll" />
        </nunit2>
    </target>

Reply via email to