Git Product home page Git Product logo

Comments (8)

nenick avatar nenick commented on September 27, 2024

Looks like they have no native support for this implemented yet.
https://code.google.com/p/android/issues/detail?id=140241

from androidstudioandrobolectric.

CDRussell avatar CDRussell commented on September 27, 2024

Cool, thanks. At least it has been flagged as high priority for 1.2.

On Tue, 17 Feb 2015 11:41 Nico Küchler [email protected] wrote:

Looks like they have no native support for this implemented yet.
https://code.google.com/p/android/issues/detail?id=140241


Reply to this email directly or view it on GitHub
#2 (comment)
.

from androidstudioandrobolectric.

nenick avatar nenick commented on September 27, 2024

You can try the plugin from the robolectric team, maybe with this you get all working what you need https://github.com/robolectric/robolectric-gradle-plugin

from androidstudioandrobolectric.

jaredsburrows avatar jaredsburrows commented on September 27, 2024

With Gradle builds:

gradlew --parallel

With Robolectric plugin:

robolectric {
    // Specify max number of processes (default is 1)
    maxParallelForks = 4

    // Specify max number of test classes to execute in a test process
    // before restarting the process (default is unlimited)
    forkEvery = 150
}

from androidstudioandrobolectric.

nenick avatar nenick commented on September 27, 2024

Great! Thanks for reporting.

from androidstudioandrobolectric.

jaredsburrows avatar jaredsburrows commented on September 27, 2024

@nenick Thanks for making this repo. Also, this is not an issue related to your repo, so I believe you can close this.

from androidstudioandrobolectric.

nenick avatar nenick commented on September 27, 2024

I like to know you opinion.

Current my plan is to let the issues open until they are really "fixed". Most issues have a reference to an open google issue and shows the existing workaround. Yes they are not related to this samples. I guess it is much easier to use the open issues if you try to apply this setup to an existing project instead of searching the closed issues which are still relevant.

from androidstudioandrobolectric.

jaredsburrows avatar jaredsburrows commented on September 27, 2024

But there is no "fix" for this, there is already support.

This is an example repository, not the Robolectric repository.

Gradle does supports parallel builds.

Robolectric does support parallel tests.

So there is no issue here.

from androidstudioandrobolectric.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.