FlexUnit GradleFx 0.6

jhon's Avatar

jhon

06 Nov, 2012 10:07 PM

Hi

I just updated to GradleFx 0.6, and now I am trying to setup flexunit following this directions (http://doc.gradlefx.org/en/latest/flexunit.html) . I downloaded flexunit and created the two required environment variables but I am still getting the error below when I try to run the test target (gradle test). I have attached the build file you review

thanks

anasson-think1:ProServASLib jhon$ printenv FLEXUNIT_HOME
/flex/flexunit anasson-think1:ProServASLib jhon$ printenv FLASH_PLAYER_EXE
/flex anasson-think1:ProServASLib jhon$ gradle test
/flex/flexunit

FAILURE: Build failed with an exception.

  • Where: Build file '/Users/jhon/Documents/Adobe Flash Builder 4.5/ProServASLib/build.gradle' line: 9

  • What went wrong: A problem occurred evaluating root project 'ProServASLib'.

    No signature of method: org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.test() is applicable for argument types: (org.gradle.api.internal.file.collections.DefaultConfigurableFileCollection) values: [file collection] Possible solutions: wait(), getAt(java.lang.String), use([Ljava.lang.Object;), wait(long), is(java.lang.Object), grep()

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 2.015 secs
anasson-think1:ProServASLib jhon$

  1. 1 Posted by jhon on 06 Nov, 2012 10:16 PM

    jhon's Avatar

    Hi

    I forgot to include the stack trace (attached to this post)

    thanks again

  2. Support Staff 2 Posted by Yennick Trevels on 07 Nov, 2012 05:30 AM

    Yennick Trevels's Avatar

    Hi jhon,

    The test dependencies should be defined next to your normal dependencies, not in the buildscript block ;-)

  3. Yennick Trevels closed this discussion on 07 Jan, 2013 01:17 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac