cmd+shit+a -> "edit configurations", default -> junit, working directory ->
$MODULE_DIR$


​

On Thu, Oct 9, 2014 at 6:48 PM, Farley Lai <[email protected]> wrote:

> Hi, all,
>
> Version of Android Studio (available in the about box): 0.8.8
> OS version: Mac OSX 10.9.4
> Java JRE/JDK version: 8
>
>
> A unit test in a subproject accesses a file through a relative path. If
> triggered from the Android Studio interface menu (right click and run the
> test), the path is relative to the root project. However, if triggered by
> the Gradle in the command line, it is relative to the subproject.
>
> Though it's easier to run the unit tests from the interface, sometime we
> want the unit tests to be scheduled to run from command line Gradle. This
> inconsistency bugs the team once in a while. We would consider the AS
> should behave consistently as Gradle runs the tasks from the command line,
> that is, relative to the subproject path.
>
> Any idea for a quick fix?
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "adt-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to