[GRADLE-657] Gradle tries to delete a non-existent configuration file (testng.xml) Created: 26/Sep/09  Updated: 04/Jan/13  Resolved: 28/Sep/09

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: 0.8

Type: Bug
Reporter: Andrei Sereda Assignee: Hans Dockter
Resolution: Fixed Votes: 0

Attachments: Text File TestNGOptions.groovy.patch    

 Description   

When configuring TestNG with suites attribute gradle throws an exception

task test << {
      useTestNG()
      options.suites( 'testng.xml' )
}

Cause: Failed to delete TestNG suite XML file ..../build/test-results/testng.xml

Attached is a patch to fix the problem.



 Comments   
Comment by Andrei Sereda [ 28/Sep/09 ]

Hans,

Will it be possible to backport the fix into 0.7.x branch ?

Comment by Hans Dockter [ 28/Sep/09 ]

Patch applied. Thanks.

Generated at Wed Jun 30 11:35:32 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.