cbeust/testng — Issue #125: windows: serviceloader does not find any ITestNGListener
Author: lukasj
Created: 2011-11-05 21:13:40+00:00
State: open

[note: this issue happens only on windows]

follow http://testng.org/doc/documentation-main.html#listeners-service-loader

or

-clone current codebase on windows 7 (not sure if exact win version matters)
-set JAVA_HOME to some JDK 6 - I'm using JDK 6 u27
-run *ant clean dev*

on a machine running Windows 7

=> listener passed to TestNG through META-INF/services is not found, one has to use -listeners to get around this

also note that *test.serviceloader.ServiceLoaderTest* from TestNG codebase fails on windows (at least in my local environment)