if ( !testAssembly.exists() )
{
return;
}
Vendor vendor;
if ( vendorName != null )
{
vendor = Vendor.valueOf( vendorName.toUpperCase() );
}
else
{
vendor = Vendor.getDefaultVendorForOS();
}
// The directory where the test artifact exists
File testAssemblies =
new File( project.getBuild().getDirectory(), BuildDirectories.TEST_ASSEMBLIES.getBuildDirectoryName() );
Commandline commandline = new Commandline();
getLog().debug( "NMaven-test: workingDirectory(" + testAssemblies.getAbsolutePath() + ")" );
commandline.setWorkingDirectory( testAssemblies.getAbsolutePath() );
if ( vendor.equals( Vendor.MICROSOFT ) )
{
commandline.setExecutable( "nunit-console" );
}
else if ( vendor.equals( Vendor.NOVELL ) )
{
commandline.setExecutable( "nunit-console2" );
}
else
{