Groovy Documentation

org.gradle.nativebinaries.test.tasks
[Groovy] Class RunTestExecutable

java.lang.Object
  org.gradle.api.internal.ConventionTask
      org.gradle.nativebinaries.test.tasks.RunTestExecutable

@Incubating
class RunTestExecutable
extends ConventionTask

Runs a compiled and installed test executable.


Property Summary
boolean ignoreFailures

Should the build continue if a test fails, or should the build break?

File outputDir

The directory where the results should be generated.

File testExecutable

The executable binary to run.

 
Constructor Summary
RunTestExecutable()

 
Method Summary
void exec()

 

Property Detail

ignoreFailures

@Input
boolean ignoreFailures
Should the build continue if a test fails, or should the build break?


outputDir

@OutputDirectory
File outputDir
The directory where the results should be generated.


testExecutable

@InputFile
File testExecutable
The executable binary to run.


 
Constructor Detail

RunTestExecutable

RunTestExecutable()


 
Method Detail

exec

@TaskAction
void exec()


 

Gradle API 1.12